corrected an update issue with the pipes

pipes would only update there connection once and never again due to a
missing !
This commit is contained in:
Rseifert 2013-03-29 16:34:13 -04:00
parent 99331db20c
commit 6eaaa91849

View file

@ -50,7 +50,7 @@ public class TileEntityNetworkPipe extends TileEntityAdvanced implements ITankCo
public void updateEntity()
{
super.updateEntity();
if (worldObj.isRemote && ticks % ((int) random.nextInt(10) * 10 + 1) == 0)
if (!worldObj.isRemote && ticks % ((int) random.nextInt(10) * 80 + 20) == 0)
{
this.updateAdjacentConnections();
}