Initial warehouse refactor
This commit is contained in:
1 parent
92f53b00b8
commit
97fa583f65
15 files changed
+268
-385
No files matched your search
@@ -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