getWorld is abstract on TileController when running outside of a development enviroment due to obfustcation. (#2490)
This commit is contained in:
@@ -510,6 +510,14 @@ public class TileController extends TileBase implements ITickable, INetwork, IRe
|
|||||||
return world;
|
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
|
@Override
|
||||||
public void read(NBTTagCompound tag) {
|
public void read(NBTTagCompound tag) {
|
||||||
super.read(tag);
|
super.read(tag);
|
||||||
|
Reference in New Issue
Block a user