mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 21:13:11 +00:00
parent
45d8556b87
commit
82b17aeebf
10 changed files with 35 additions and 47 deletions
|
@ -129,7 +129,8 @@ public class Auto extends SubCommand {
|
|||
boolean claimed = true;
|
||||
while (!br) {
|
||||
PlotId start = getNextPlot(Auto.lastPlot, 1);
|
||||
|
||||
|
||||
//FIXME: Wtf is going on here?
|
||||
if (claimed) {
|
||||
if (PlotMain.getPlots(world).get(start) == null || PlotMain.getPlots(world).get(start).owner == null) {
|
||||
Auto.lastPlot = start;
|
||||
|
@ -181,7 +182,7 @@ public class Auto extends SubCommand {
|
|||
}
|
||||
}
|
||||
else {
|
||||
if (id.x==id.y && id.x > 0) {
|
||||
if (id.x.equals(id.y) && id.x > 0) {
|
||||
return new PlotId(id.x, id.y + step);
|
||||
}
|
||||
if (id.x==absX) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue