Start mobequip refactor

This commit is contained in:
2024-03-18 10:12:13 -04:00
parent 61c4cb1361
commit 8f7208ff34
5 changed files with 38 additions and 40 deletions
@@ -147,10 +147,10 @@ public class BuyFromNPCWindowMsg extends ClientNetMsg {
//add generic sell inventory from contract
if (sellInventory != null) {
for (Item Item : sellInventory) {
for (Item item : sellInventory) {
try {
Item._serializeForVendor(Item, writer, sellPercent);
} catch (SerializationException se) {
Item.serializeForClientMsgForVendor(item, writer, sellPercent);
} catch (Exception se) {
continue;
}
++total;