What's with this FIXME thing? Have you broken something?

This commit is contained in:
boy0001 2014-11-10 20:15:55 +11:00
parent 278b8bc0c3
commit 7d304d3eb2

View File

@ -131,14 +131,14 @@ public class Auto extends SubCommand {
Auto.lastPlot = getNextPlot(Auto.lastPlot, 1); Auto.lastPlot = getNextPlot(Auto.lastPlot, 1);
} }
} else { } else {
// FIXME: Not used
// TODO: Fix this! // Why does this need fixing, it should work fine for auto claiming mega plots
// final boolean claimed = true;
while (!br) { while (!br) {
final PlotId start = getNextPlot(Auto.lastPlot, 1); final PlotId start = getNextPlot(Auto.lastPlot, 1);
// FIXME: Wtf is going on here? // Checking if the current set of plots is a viable option.
/*if (claimed) */
{ {
if ((PlotMain.getPlots(world).get(start) == null) || (PlotMain.getPlots(world).get(start).owner == null)) { if ((PlotMain.getPlots(world).get(start) == null) || (PlotMain.getPlots(world).get(start).owner == null)) {
Auto.lastPlot = start; Auto.lastPlot = start;