Bugfix for vendor window with no items.

This commit is contained in:
2023-08-16 11:16:24 -04:00
parent 7a5dde7100
commit 13fb532902
+1 -1
View File
@@ -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