Remove todo items
This commit is contained in:
@@ -23,7 +23,6 @@ public class NetworkNodeManager extends WorldSavedData implements INetworkNodeMa
|
||||
private static final String NBT_NODE_DATA = "Data";
|
||||
private static final String NBT_NODE_POS = "Pos";
|
||||
|
||||
// @TODO: Actually store dimension ID instead of using this ugly hack
|
||||
private boolean canReadNodes;
|
||||
private NBTTagList nodesTag;
|
||||
|
||||
|
||||
@@ -102,9 +102,7 @@ public abstract class TileNode<N extends NetworkNode> extends TileBase implement
|
||||
INetworkNodeManager manager = API.instance().getNetworkNodeManager(world);
|
||||
|
||||
NetworkNode node = (NetworkNode) manager.getNode(pos);
|
||||
|
||||
// @TODO: This is a hack to support previous broken versions that have no nodes for some tiles due to a bug
|
||||
// This should actually be called in Block#onBlockAdded
|
||||
|
||||
if (node == null) {
|
||||
manager.setNode(pos, node = createNode(world, pos));
|
||||
manager.markForSaving();
|
||||
|
||||
Reference in New Issue
Block a user