1000 unit missed spot

lakebane-master
FatBoy-DOTC 2024-02-07 16:04:41 -06:00
parent 2e4bf0823c
commit db229dcf74
1 changed files with 1 additions and 1 deletions

View File

@ -2098,7 +2098,7 @@ public class CharacterItemManager {
if (this.absCharacter.getObjectType() == GameObjectType.PlayerCharacter) {
PlayerCharacter pc = (PlayerCharacter) this.absCharacter;
int newWeight = this.getCarriedWeight() + weight;
return newWeight <= (int) pc.statStrBase * 3;
return newWeight <= pc.getInventoryCapacity();
} else if (this.absCharacter.getObjectType() == GameObjectType.NPC) {
int newWeight = this.getCarriedWeight() + weight;
return newWeight <= 1900 + (this.absCharacter.getLevel() * 3);