From e34b5b151f625f8b99bef66b7cd1e17658f84c3d Mon Sep 17 00:00:00 2001 From: aznhe21 Date: Sat, 22 Dec 2012 18:46:03 +0900 Subject: [PATCH] Override shouldRefresh. --- common/buildcraft/transport/TileGenericPipe.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/buildcraft/transport/TileGenericPipe.java b/common/buildcraft/transport/TileGenericPipe.java index cadaf409..af3acd16 100644 --- a/common/buildcraft/transport/TileGenericPipe.java +++ b/common/buildcraft/transport/TileGenericPipe.java @@ -22,6 +22,7 @@ import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.packet.Packet; import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.liquids.ILiquidTank; import net.minecraftforge.liquids.ITankContainer; @@ -662,4 +663,9 @@ public class TileGenericPipe extends TileEntity implements IPowerReceptor, ITank else return null; } + + @Override + public boolean shouldRefresh(int oldID, int newID, int oldMeta, int newMeta, World world, int x, int y, int z) { + return oldID != newID; + } }