resource stacking optimized location
This commit is contained in:
@@ -969,6 +969,9 @@ public class ClientMessagePump implements NetMsgHandler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(item.getItemBase().getType().equals(ItemType.RESOURCE))
|
||||||
|
player.getCharItemManager().StackResources();
|
||||||
|
|
||||||
if (item.getItemBase().getType().equals(engine.Enum.ItemType.GOLD)) {
|
if (item.getItemBase().getType().equals(engine.Enum.ItemType.GOLD)) {
|
||||||
// this is done to prevent the temporary goldItem item
|
// this is done to prevent the temporary goldItem item
|
||||||
// (from the mob) from appearing in player's inventory.
|
// (from the mob) from appearing in player's inventory.
|
||||||
@@ -1020,7 +1023,6 @@ public class ClientMessagePump implements NetMsgHandler {
|
|||||||
item.lootLock.unlock();
|
item.lootLock.unlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.getCharItemManager().StackResources();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user