From 1fafd8f3f2418fbf8c8119168c83621a9a6aafa5 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 27 Apr 2019 13:14:40 +1000 Subject: [PATCH] Allow direct opening of another player's inventory Not recommended - bugs may result, especially re: slot updates --- .../java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index ebd55c4f8f..90ffdc07aa 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -324,6 +324,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { customSize = Containers.GENERIC_9X3; break; case 36: + case 41: // PLAYER customSize = Containers.GENERIC_9X4; break; case 45: