Minor fixes

JavaDoc Fixes
Useful additions
This commit is contained in:
Sauilitired 2014-11-19 18:05:09 +01:00
parent 8261b944b2
commit a4f55dc3f6
20 changed files with 153 additions and 66 deletions

View file

@ -153,7 +153,7 @@ public class Auto extends SubCommand {
Plot plot = PlotHelper.getPlot(world, Auto.lastPlot);
if ((plot == null) || (plot.owner == null)) {
plot = PlotHelper.getPlot(world, Auto.lastPlot);
Claim.claimPlot(plr, plot, true);
Claim.claimPlot(plr, plot, true, true);
br = true;
final PlotWorld pw = PlotMain.getWorldSettings(world);
final Plot plot2 = PlotMain.getPlots(world).get(plot.id);
@ -187,7 +187,7 @@ public class Auto extends SubCommand {
for (int j = start.y; j <= end.y; j++) {
final Plot plot = PlotHelper.getPlot(world, new PlotId(i, j));
final boolean teleport = ((i == end.x) && (j == end.y));
Claim.claimPlot(plr, plot, teleport);
Claim.claimPlot(plr, plot, teleport, true);
}
}
if (!PlotHelper.mergePlots(plr, world, PlayerFunctions.getPlotSelectionIds(world, start, end))) {