diff options
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/block/CraftShulkerBox.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftShulkerBox.java b/src/main/java/org/bukkit/craftbukkit/block/CraftShulkerBox.java index 78e8bf70..8a7ce92b 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftShulkerBox.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftShulkerBox.java @@ -1,6 +1,7 @@ package org.bukkit.craftbukkit.block; import net.minecraft.server.BlockShulkerBox; +import net.minecraft.server.TileEntity; import net.minecraft.server.TileEntityShulkerBox; import org.bukkit.DyeColor; import org.bukkit.Material; @@ -30,6 +31,11 @@ public class CraftShulkerBox extends CraftLootable implements ShulkerBox { } @Override + public TileEntity getTileEntity() { + return box; + } + + @Override public Inventory getInventory() { return new CraftInventory(box); } |