mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Loads of work on CTM, work on fixing multi blocks
This commit is contained in:
1 parent
07a7391dfc
commit
3b75d9ff1e
111 files changed
+526
-312
No files matched your search
@@ -32,13 +32,13 @@ public class TileEntityStructuralGlass extends TileEntity implements IStructural
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update()
|
||||
public void doUpdate()
|
||||
{
|
||||
if(master != null)
|
||||
{
|
||||
if(master.getTileEntity(worldObj) instanceof IMultiblock)
|
||||
{
|
||||
((IMultiblock)master.getTileEntity(worldObj)).update();
|
||||
((IMultiblock)master.getTileEntity(worldObj)).doUpdate();
|
||||
}
|
||||
else {
|
||||
master = null;
|
||||
@@ -49,7 +49,7 @@ public class TileEntityStructuralGlass extends TileEntity implements IStructural
|
||||
|
||||
if(multiblock != null)
|
||||
{
|
||||
multiblock.update();
|
||||
multiblock.doUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user