mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 11:24:11 +01:00
SPIGOT-2789: ShulkerBox missing override
This commit is contained in:
parent
5e51afde49
commit
0805f60443
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
package org.bukkit.craftbukkit.block;
|
package org.bukkit.craftbukkit.block;
|
||||||
|
|
||||||
import net.minecraft.server.BlockShulkerBox;
|
import net.minecraft.server.BlockShulkerBox;
|
||||||
|
import net.minecraft.server.TileEntity;
|
||||||
import net.minecraft.server.TileEntityShulkerBox;
|
import net.minecraft.server.TileEntityShulkerBox;
|
||||||
import org.bukkit.DyeColor;
|
import org.bukkit.DyeColor;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
@ -29,6 +30,11 @@ public class CraftShulkerBox extends CraftLootable implements ShulkerBox {
|
||||||
world = null;
|
world = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TileEntity getTileEntity() {
|
||||||
|
return box;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Inventory getInventory() {
|
public Inventory getInventory() {
|
||||||
return new CraftInventory(box);
|
return new CraftInventory(box);
|
||||||
|
|
Loading…
Reference in a new issue