forked from MagicBane/Server
finish checks for increased player inventory gold limits
This commit is contained in:
@@ -180,7 +180,7 @@ public class StealPowerAction extends AbstractPowerAction {
|
||||
|
||||
int targetGold = ownerCIM.getGoldInventory().getNumOfItems();
|
||||
int myGold = myCIM.getGoldInventory().getNumOfItems();
|
||||
if(myGold + amount > 10000000)
|
||||
if(myGold + amount > MBServerStatics.PLAYER_GOLD_LIMIT)
|
||||
return;
|
||||
|
||||
ownerCIM.getGoldInventory().setNumOfItems(targetGold - amount);
|
||||
|
||||
Reference in New Issue
Block a user