mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-17 19:15:09 +00:00
Merge pull request #2338 from HenryLoenwind/cleanup
Cleanup: null checks in doUpdate()
This commit is contained in:
commit
bfa86203aa
11 files changed
+7
-26
No files matched your search
@@ -233,10 +233,6 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
|
||||
|
||||
@Override
|
||||
public void doUpdate() {
|
||||
if(worldObj == null) { // sanity check
|
||||
return;
|
||||
}
|
||||
|
||||
if(worldObj.isRemote) {
|
||||
updateEntityClient();
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user