forked from MagicBane/Server
NPc Manager for static NPC classes
This commit is contained in:
@@ -11,6 +11,7 @@ package engine.net.client.msg;
|
||||
|
||||
import engine.Enum.ItemType;
|
||||
import engine.exception.SerializationException;
|
||||
import engine.gameManager.NPCManager;
|
||||
import engine.gameManager.PlayerManager;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
@@ -92,7 +93,7 @@ public class BuyFromNPCWindowMsg extends ClientNetMsg {
|
||||
|
||||
float sellPercent = 1;
|
||||
|
||||
NPC npc = NPC.getFromCache(npcID);
|
||||
NPC npc = NPCManager.getFromCache(npcID);
|
||||
CharacterItemManager man = null;
|
||||
ArrayList<Item> inventory = null;
|
||||
ArrayList<MobEquipment> sellInventory = null;
|
||||
|
||||
Reference in New Issue
Block a user