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
@@ -90,10 +90,10 @@ public abstract class TileEntityMultiblock<T extends SynchronizedData<T>> extend
|
||||
getManager().updateCache(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(structure == null && ticker == 5)
|
||||
{
|
||||
update();
|
||||
doUpdate();
|
||||
}
|
||||
|
||||
if(prevStructure == (structure == null))
|
||||
@@ -135,7 +135,7 @@ public abstract class TileEntityMultiblock<T extends SynchronizedData<T>> extend
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update()
|
||||
public void doUpdate()
|
||||
{
|
||||
if(!worldObj.isRemote && (structure == null || !getSynchronizedData().didTick))
|
||||
{
|
||||
@@ -204,7 +204,7 @@ public abstract class TileEntityMultiblock<T extends SynchronizedData<T>> extend
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handlePacketData(ByteBuf dataStream)
|
||||
public void (ByteBuf dataStream)
|
||||
{
|
||||
super.handlePacketData(dataStream);
|
||||
|
||||
|
||||
Reference in new issue
Block a user