Bugfix for vendor window with no items.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user