Start mobequip refactor

This commit is contained in:
2024-03-18 10:01:29 -04:00
parent 0590ae64e7
commit 61c4cb1361
56 changed files with 198 additions and 377 deletions
+2 -2
View File
@@ -353,7 +353,7 @@ public enum GroupManager {
if (item.getObjectType() == Enum.GameObjectType.MobLoot) {
if (tar.getObjectType() == Enum.GameObjectType.Mob) {
((Mob) tar).getCharItemManager().delete(item);
((Mob) tar).charItemManager.delete(item);
} else
item.setNumOfItems(0);
} else
@@ -363,7 +363,7 @@ public enum GroupManager {
int amt = (group.isGroupLead(splitPlayer)) ? (amount + dif) : amount;
if (amt > 0)
splitPlayer.getCharItemManager().addGoldToInventory(amt, false);
splitPlayer.charItemManager.addGoldToInventory(amt, false);
}
for (PlayerCharacter splitPlayer : playersSplit) {