Remove todo items

This commit is contained in:
raoulvdberge
2017-06-09 22:56:14 +02:00
parent 19f59d4070
commit f4091051dc
2 changed files with 1 additions and 4 deletions

View File

@@ -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;

View File

@@ -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();