Add refresh renderstate to Wood and Iron logic for input/output direction switching

This commit is contained in:
Krapht 2012-07-16 00:59:14 +02:00
parent eb78ff7efa
commit cd4dfad71b
2 changed files with 3 additions and 1 deletions

View file

@ -53,6 +53,7 @@ public class PipeLogicIron extends PipeLogic {
|| tile instanceof TileGenericPipe) {
worldObj.setBlockMetadata(xCoord, yCoord, zCoord, nextMetadata);
container.scheduleRenderUpdate();
return;
}
}

View file

@ -44,7 +44,8 @@ public class PipeLogicWood extends PipeLogic {
if (newMeta != meta) {
worldObj.setBlockMetadata(xCoord, yCoord, zCoord, newMeta);
worldObj.markBlockNeedsUpdate(xCoord, yCoord, zCoord);
container.scheduleRenderUpdate();
//worldObj.markBlockNeedsUpdate(xCoord, yCoord, zCoord);
}
}