Merge pull request #525 from aznhe21/patch-pipes-refresh
Pipes should not refresh.
This commit is contained in:
commit
0bb128acfd
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue