Fix Iron Fluid Pipe rotation

This commit is contained in:
CovertJaguar 2013-07-31 03:23:17 -07:00
parent 658718e3ac
commit a2d30930de

View file

@ -15,6 +15,7 @@ import buildcraft.transport.PipeTransportFluids;
import buildcraft.transport.TileGenericPipe; import buildcraft.transport.TileGenericPipe;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;
import net.minecraftforge.fluids.IFluidHandler; import net.minecraftforge.fluids.IFluidHandler;
@ -45,6 +46,11 @@ public class PipeFluidsIron extends Pipe<PipeTransportFluids> {
super(new PipeTransportFluids(), itemID); super(new PipeTransportFluids(), itemID);
} }
@Override
public boolean blockActivated(EntityPlayer entityplayer) {
return logic.blockActivated(entityplayer);
}
@Override @Override
public void onNeighborBlockChange(int blockId) { public void onNeighborBlockChange(int blockId) {
logic.switchOnRedstone(); logic.switchOnRedstone();