3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00

SPIGOT-2789: ShulkerBox missing override

Dieser Commit ist enthalten in:
md_5 2016-11-18 12:00:17 +11:00
Ursprung 5e51afde49
Commit 0805f60443

Datei anzeigen

@ -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);