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
+1 -1
View File
@@ -712,7 +712,7 @@ public enum LootManager {
ItemBase ib = ItemBase.getItemBase(selectedItem.cacheID);
if(ib.getUUID() == Warehouse.coalIB.getUUID()){
//no more coal, give gold instead
if (itemMan.getGoldInventory().getNumOfItems() + 250000 > 10000000) {
if (itemMan.getGoldInventory().getNumOfItems() + 250000 > MBServerStatics.PLAYER_GOLD_LIMIT) {
ErrorPopupMsg.sendErrorPopup(playerCharacter, 21);
return;
}