forked from MagicBane/Server
Bugfix for vendor window with no items.
This commit is contained in:
@@ -401,7 +401,7 @@ public class ManageNPCMsg extends ClientNetMsg {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (Contract.NoSlots(npc.getContract()))
|
if (npc.getCanRoll().isEmpty())
|
||||||
writer.putInt(0);
|
writer.putInt(0);
|
||||||
else
|
else
|
||||||
writer.putInt(npc.getRank()); //vendor slots
|
writer.putInt(npc.getRank()); //vendor slots
|
||||||
|
|||||||
Reference in New Issue
Block a user