Remove tile ticking shim

This commit is contained in:
Vincent Lee committed 2016-03-02 14:15:45 -06:00
1 parent 298d46399f
commit 01ca175951
1 file changed
+2 -16
@@ -65,22 +65,8 @@ public class TileMod extends TileEntity implements ITickable {
@Override
public final void update() {
if (!isInvalid() && worldObj.isBlockLoaded(getPos(), false)) {
if (!worldObj.isRemote)
updateEntity();
else {
try {
updateEntity();
} catch (NullPointerException e) { // todo 1.8 remove this abhorration after I figure out what's going on.
e.printStackTrace();
FMLLog.severe("[Botania]: CLIENT TICK FAILED");
FMLLog.severe("[Botania]: World: %s, Pos: %s, TE: %s", worldObj, pos, this);
if (this instanceof TileSpecialFlower) {
TileSpecialFlower spec = ((TileSpecialFlower) this);
FMLLog.severe("[Botania]: SUBTILE: %s", spec.getSubTile().getUnlocalizedName());
}
}
}
if (!isInvalid() && worldObj.isBlockLoaded(getPos())) {
updateEntity();
}
}