finish checks for increased player inventory gold limits

This commit is contained in:
2025-03-15 16:41:47 -05:00
parent 7c67e15d40
commit 602b16457f
6 changed files with 12 additions and 10 deletions
@@ -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);