From f23818a9f995c8d020fe6358bf2394434435cfe8 Mon Sep 17 00:00:00 2001 From: untuned Date: Fri, 30 Mar 2018 00:58:19 -0400 Subject: [PATCH] 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 --- .../me/totalfreedom/totalfreedommod/command/Command_invsee.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_invsee.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_invsee.java index 68b725dd..b64ae40f 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_invsee.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_invsee.java @@ -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;