finish checks for increased player inventory gold limits

This commit is contained in:
FatBoy committed 2025-03-15 16:41:47 -05:00
1 parent 7c67e15d40
commit 602b16457f
6 files changed
+12 -10

No files matched your search

@@ -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);