diff --git a/src/main/scala/resonantinduction/mechanical/turbine/TileWaterTurbine.java b/src/main/scala/resonantinduction/mechanical/turbine/TileWaterTurbine.java index 29e3ad00e..ca377b6b5 100644 --- a/src/main/scala/resonantinduction/mechanical/turbine/TileWaterTurbine.java +++ b/src/main/scala/resonantinduction/mechanical/turbine/TileWaterTurbine.java @@ -13,6 +13,7 @@ import net.minecraft.tileentity.TileEntity; import net.minecraft.util.Vec3; import net.minecraft.world.IBlockAccess; import net.minecraftforge.common.util.ForgeDirection; +import resonant.content.prefab.itemblock.ItemBlockMetadata; import resonantinduction.core.Settings; import resonantinduction.mechanical.energy.grid.MechanicalNode; import universalelectricity.api.core.grid.INodeProvider; @@ -32,6 +33,8 @@ public class TileWaterTurbine extends TileTurbine public TileWaterTurbine() { + super(); + this.itemBlock_$eq(ItemBlockMetadata.class); mechanicalNode.torque = defaultTorque; mechanicalNode = new TurbineNode(this) { diff --git a/src/main/scala/resonantinduction/mechanical/turbine/TileWindTurbine.java b/src/main/scala/resonantinduction/mechanical/turbine/TileWindTurbine.java index 8c418a018..6508446aa 100644 --- a/src/main/scala/resonantinduction/mechanical/turbine/TileWindTurbine.java +++ b/src/main/scala/resonantinduction/mechanical/turbine/TileWindTurbine.java @@ -10,6 +10,7 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.BiomeGenOcean; import net.minecraft.world.biome.BiomeGenPlains; import net.minecraftforge.common.util.ForgeDirection; +import resonant.content.prefab.itemblock.ItemBlockMetadata; import resonant.lib.utility.inventory.InventoryUtility; import resonantinduction.core.Settings; import universalelectricity.core.transform.vector.Vector3; @@ -27,6 +28,12 @@ public class TileWindTurbine extends TileTurbine private float efficiency = 0; private long windPower = 0; + public TileWindTurbine() + { + super(); + this.itemBlock_$eq(ItemBlockMetadata.class); + } + @Override public void update()