Start mobequip refactor
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user