@ -1376,20 +1376,17 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1376,20 +1376,17 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1397,19 +1394,16 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1397,19 +1394,16 @@ public class ClientMessagePump implements NetMsgHandler {
ChatManager.chatSystemError(sourcePlayer,"Item Base Null");
return;
}
//test room available for item
if(!itemMan.hasRoomInventory(ib.getWeight())){
ChatManager.chatSystemError(sourcePlayer,"No Room In Inventory");
return;
}
intcost=me.getMagicValue();
@ -1428,7 +1422,6 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1428,7 +1422,6 @@ public class ClientMessagePump implements NetMsgHandler {
if(gold.getNumOfItems()-cost<0){
//dont' have enough goldItem exit!
// chatMan.chatSystemInfo(pc, "" + "You dont have enough gold.");