Override shouldRefresh.

This commit is contained in:
aznhe21 2012-12-22 18:46:03 +09:00
parent 1126b3c7d3
commit e34b5b151f

View file

@ -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;
}
}