mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-19 05:45:01 +00:00
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:
parent
a8e39e3db2
commit
f23818a9f9
@ -52,7 +52,7 @@ public class Command_invsee extends FreedomCommand
|
|||||||
msg("That player has nothing in their offhand.");
|
msg("That player has nothing in their offhand.");
|
||||||
return true;
|
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);
|
inventory.setItem(1, offhand);
|
||||||
playerSender.openInventory(inventory);
|
playerSender.openInventory(inventory);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user