forked from MagicBane/Server
Initial warehouse refactor
This commit is contained in:
@@ -359,7 +359,7 @@ public class CharacterItemManager {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!Warehouse.withdraw(warehouse, (PlayerCharacter) this.absCharacter, this.getGoldInventory().getItemBase(), amount * -1, true, true)) {
|
||||
if (!Warehouse.withdraw(warehouse, (PlayerCharacter) this.absCharacter, Enum.ResourceType.GOLD, amount * -1, true, true)) {
|
||||
|
||||
ErrorPopupMsg.sendErrorPopup((PlayerCharacter) this.absCharacter, 203);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user