forked from MagicBane/Server
stack resources completed
This commit is contained in:
@@ -579,7 +579,7 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
}
|
||||
if (itemManager.delete(i) == true) {
|
||||
sourcePlayer.getCharItemManager().addGoldToInventory(value,false);
|
||||
sourcePlayer.getCharItemManager().updateInventory();
|
||||
sourcePlayer.getCharItemManager().StackResources();
|
||||
Dispatch dispatch = Dispatch.borrow(sourcePlayer, msg);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
|
||||
}
|
||||
@@ -921,7 +921,7 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
DispatchMessage.dispatchMsgToInterestArea(corpse, msg, DispatchChannel.PRIMARY, MBServerStatics.CHARACTER_LOAD_RANGE, false, true);
|
||||
|
||||
|
||||
//player.getCharItemManager().updateInventory();
|
||||
//player.getCharItemManager().StackResources();
|
||||
}
|
||||
|
||||
//TODO send group loot message if player is grouped and visible
|
||||
@@ -978,7 +978,7 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
dispatch = Dispatch.borrow(player, newItemMsg);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.PRIMARY);
|
||||
|
||||
//player.getCharItemManager().updateInventory();
|
||||
//player.getCharItemManager().StackResources();
|
||||
}
|
||||
|
||||
//TODO send group loot message if player is grouped and visible
|
||||
@@ -1464,7 +1464,7 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
if (buy != null) {
|
||||
me.transferEnchants(buy);
|
||||
itemMan.addItemToInventory(buy);
|
||||
//itemMan.updateInventory();
|
||||
//itemMan.StackResources();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1604,7 +1604,7 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
// msg.setItemID(buy.getObjectUUID());
|
||||
Dispatch dispatch = Dispatch.borrow(sourcePlayer, msg);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
|
||||
itemMan.updateInventory();
|
||||
itemMan.StackResources();
|
||||
}
|
||||
} finally {
|
||||
origin.buyLock.unlock();
|
||||
|
||||
Reference in New Issue
Block a user