From 6944e5e8d40aa65167e2989d198418211d1b5093 Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Sat, 7 Apr 2018 13:08:28 -0700 Subject: [PATCH] Add missing demon pylon itemblock (#1259) --- .../java/WayofTime/bloodmagic/block/BlockDemonPylon.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/block/BlockDemonPylon.java b/src/main/java/WayofTime/bloodmagic/block/BlockDemonPylon.java index e24869fd..60fdafea 100644 --- a/src/main/java/WayofTime/bloodmagic/block/BlockDemonPylon.java +++ b/src/main/java/WayofTime/bloodmagic/block/BlockDemonPylon.java @@ -6,13 +6,14 @@ import WayofTime.bloodmagic.tile.TileDemonPylon; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; +import net.minecraft.item.ItemBlock; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumBlockRenderType; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; -public class BlockDemonPylon extends BlockContainer implements IVariantProvider { +public class BlockDemonPylon extends BlockContainer implements IBMBlock, IVariantProvider { public BlockDemonPylon() { super(Material.ROCK); @@ -54,4 +55,9 @@ public class BlockDemonPylon extends BlockContainer implements IVariantProvider public TileEntity createNewTileEntity(World world, int meta) { return new TileDemonPylon(); } + + @Override + public ItemBlock getItem() { + return new ItemBlock(this); + } }