Skip to content
Permalink
Browse files

Remove TODOs in legacy files.

Signed-off-by: Articdive <13535885+Articdive@users.noreply.github.com>
  • Loading branch information
Articdive committed Mar 15, 2020
1 parent ac2a676 commit 3ccce35703c7c7a6598b7723d74d1cbbf685cf0b
@@ -20,7 +20,7 @@
import com.palmergames.util.FileMgmt;
import com.palmergames.util.KeyValueFile;

// TODO: Make sure the lack of a particular value doesn't error out the entire file


public class TownyHModFlatFileSource extends TownyFlatFileSource {

@@ -35,13 +35,7 @@ public static BlockQueue newInstance(Server server) {

instance = new BlockQueue();
instance.worker = new BlockWorker(server, instance);

//TODO: Fix
//TODO: null = plugin
//TODO: null = plugin
//TODO: null = plugin
//TODO: null = plugin
//TODO: null = plugin

server.getScheduler().runTaskLaterAsynchronously(null, instance.getWorker(),0);

return instance;
@@ -74,8 +74,7 @@ public void buildBlock(BlockWork blockWork) {

if (blockWork.getId() == BukkitTools.getTypeId(block))
return;

// TODO: Set block

BukkitTools.setTypeIdAndData(block, blockWork.getId(), blockWork.getData(), true);

}
@@ -80,7 +80,6 @@ public static boolean townGen(TownyWorld world, Town town) {
(!isPartOfTown(tb.x-1, tb.z, town) && !isPartOfTown(tb.x, tb.z-1, town)) )
town.wall.sections.add(new WallSection(lowestInGrid(tb.x*TownyProperties.blockSize, tb.z*TownyProperties.blockSize, 4, 4), 0, (isPartOfTown(tb.x-1, tb.z, town) && isPartOfTown(tb.x, tb.z-1, town)) ? 2 : 1));

//TODO: delete walls where turrets are. Don't
}

/*

0 comments on commit 3ccce35

Please sign in to comment.
You can’t perform that action at this time.