getWorld is abstract on TileController when running outside of a development enviroment due to obfustcation. (#2490)

This commit is contained in:
ian-rampage
2020-04-26 09:14:51 +01:00
committed by GitHub
parent 738ccca994
commit e72f1b64bc

View File

@@ -510,6 +510,14 @@ public class TileController extends TileBase implements ITickable, INetwork, IRe
return world;
}
@Override
public World getWorld()
{
// This is provided by net.minecraft.TileEntity - and needed as a part of INetworkNode
// After obfuscation - these two methods will not be the same - so we have to redefine this here
return this.world;
}
@Override
public void read(NBTTagCompound tag) {
super.read(tag);