diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftShulkerBox.java b/src/main/java/org/bukkit/craftbukkit/block/CraftShulkerBox.java index 78e8bf70d6..8a7ce92bf7 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; @@ -29,6 +30,11 @@ public class CraftShulkerBox extends CraftLootable implements ShulkerBox { world = null; } + @Override + public TileEntity getTileEntity() { + return box; + } + @Override public Inventory getInventory() { return new CraftInventory(box);