mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 13:05:41 +01:00
What's with this FIXME thing? Have you broken something?
This commit is contained in:
parent
278b8bc0c3
commit
7d304d3eb2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user