fix invsee offhand bug (#52)

https://i.untuned.me/jndoUt.png
chest size can only be a multiple of 9, it was set to 1
This commit is contained in:
untuned 2018-03-30 00:58:19 -04:00 committed by Lemon
parent a8e39e3db2
commit f23818a9f9

View File

@ -52,7 +52,7 @@ public class Command_invsee extends FreedomCommand
msg("That player has nothing in their offhand.");
return true;
}
Inventory inventory = server.createInventory(null, 1, player.getName() + "'s offhand");
Inventory inventory = server.createInventory(null, 9, player.getName() + "'s offhand");
inventory.setItem(1, offhand);
playerSender.openInventory(inventory);
return true;