Start mobequip refactor
This commit is contained in:
@@ -97,7 +97,7 @@ public class BuyFromNPCWindowMsg extends ClientNetMsg {
|
||||
ArrayList<Item> sellInventory = null;
|
||||
|
||||
if (npc != null) {
|
||||
man = npc.getCharItemManager();
|
||||
man = npc.charItemManager;
|
||||
Contract contract = npc.getContract();
|
||||
if (player != null) {
|
||||
float barget = player.getBargain();
|
||||
@@ -149,7 +149,7 @@ public class BuyFromNPCWindowMsg extends ClientNetMsg {
|
||||
|
||||
for (Item Item : sellInventory) {
|
||||
try {
|
||||
Item.serializeForVendor(Item, writer, sellPercent);
|
||||
Item._serializeForVendor(Item, writer, sellPercent);
|
||||
} catch (SerializationException se) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user