Add refresh renderstate to Wood and Iron logic for input/output direction switching
This commit is contained in:
parent
eb78ff7efa
commit
cd4dfad71b
2 changed files with 3 additions and 1 deletions
|
@ -53,6 +53,7 @@ public class PipeLogicIron extends PipeLogic {
|
||||||
|| tile instanceof TileGenericPipe) {
|
|| tile instanceof TileGenericPipe) {
|
||||||
|
|
||||||
worldObj.setBlockMetadata(xCoord, yCoord, zCoord, nextMetadata);
|
worldObj.setBlockMetadata(xCoord, yCoord, zCoord, nextMetadata);
|
||||||
|
container.scheduleRenderUpdate();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,8 @@ public class PipeLogicWood extends PipeLogic {
|
||||||
|
|
||||||
if (newMeta != meta) {
|
if (newMeta != meta) {
|
||||||
worldObj.setBlockMetadata(xCoord, yCoord, zCoord, newMeta);
|
worldObj.setBlockMetadata(xCoord, yCoord, zCoord, newMeta);
|
||||||
worldObj.markBlockNeedsUpdate(xCoord, yCoord, zCoord);
|
container.scheduleRenderUpdate();
|
||||||
|
//worldObj.markBlockNeedsUpdate(xCoord, yCoord, zCoord);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue