mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 22:23:28 +02:00
Version 2.1 - imbuements, wrap/unwrap, 4 byte header, packet compression and other features
This commit is contained in:
@@ -26,11 +26,7 @@ function UIItem:onDrop(widget, mousePos, forced)
|
||||
if not item or not item:isItem() then return false end
|
||||
|
||||
if self.selectable then
|
||||
self:setItemId(item:getId())
|
||||
self:setItemCount(item:getCount())
|
||||
if item:getSubType() > 1 then
|
||||
self:setItemSubType(item:getSubType())
|
||||
end
|
||||
self:setItem(Item.create(item:getId(), item:getCount()))
|
||||
return
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user