Browse Source

Bugfix for vendor window with no items.

master
MagicBot 1 year ago
parent
commit
13fb532902
  1. 2
      src/engine/net/client/msg/ManageNPCMsg.java

2
src/engine/net/client/msg/ManageNPCMsg.java

@ -401,7 +401,7 @@ public class ManageNPCMsg extends ClientNetMsg { @@ -401,7 +401,7 @@ public class ManageNPCMsg extends ClientNetMsg {
} else {
if (Contract.NoSlots(npc.getContract()))
if (npc.getCanRoll().isEmpty())
writer.putInt(0);
else
writer.putInt(npc.getRank()); //vendor slots

Loading…
Cancel
Save