forked from MagicBane/Server
Start mobequip refactor
This commit is contained in:
@@ -274,7 +274,7 @@ public class Corpse extends AbstractWorldObject {
|
||||
}
|
||||
|
||||
//TODO transfer items from players inventory and trade window to corpse
|
||||
CharacterItemManager cim = belongsTo.getCharItemManager();
|
||||
CharacterItemManager cim = belongsTo.charItemManager;
|
||||
if (cim != null)
|
||||
cim.transferEntireInventory(this.inventory, this, enterWorld);
|
||||
else
|
||||
@@ -287,7 +287,7 @@ public class Corpse extends AbstractWorldObject {
|
||||
return null;
|
||||
|
||||
//get looters item manager
|
||||
CharacterItemManager looterItems = looter.getCharItemManager();
|
||||
CharacterItemManager looterItems = looter.charItemManager;
|
||||
if (looterItems == null)
|
||||
return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user