geforkt von Mirrors/Paper
SPIGOT-2789: ShulkerBox missing override
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
bd1ee334c6
Commit
2fb5813dc8
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren