mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Cleaning up unused stuff and 3-space tabs (?)
This commit is contained in:
1 parent
da6cbeb46d
commit
896c943758
19 files changed
+95
-305
No files matched your search
@@ -97,19 +97,14 @@ public abstract class TileEntityBasicMachine extends TileEntityNoisyElectricBloc
|
||||
{
|
||||
super.onUpdate();
|
||||
|
||||
if(worldObj.isRemote)
|
||||
if(worldObj.isRemote && updateDelay > 0)
|
||||
{
|
||||
Mekanism.proxy.registerSound(this);
|
||||
updateDelay--;
|
||||
|
||||
if(updateDelay > 0)
|
||||
if(updateDelay == 0 && clientActive != isActive)
|
||||
{
|
||||
updateDelay--;
|
||||
|
||||
if(updateDelay == 0 && clientActive != isActive)
|
||||
{
|
||||
isActive = clientActive;
|
||||
MekanismUtils.updateBlock(worldObj, xCoord, yCoord, zCoord);
|
||||
}
|
||||
isActive = clientActive;
|
||||
MekanismUtils.updateBlock(worldObj, xCoord, yCoord, zCoord);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user