Fixed infinite loop in plot claim (my fault)

This commit is contained in:
boy0001 2014-09-24 20:30:15 +10:00
parent e65d20d5f1
commit 874f7575c1
2 changed files with 1 additions and 2 deletions

View File

@ -460,7 +460,6 @@ public class PlotHelper {
final World world = requester.getWorld();
final Location pos1 = getPlotBottomLoc(world, plot.id).add(1,0,1);
final Location pos2 = getPlotTopLoc(world, plot.id);
SetBlockFast setBlockClass = null;
final short[] plotfloors = new short[plotworld.TOP_BLOCK.length];
final short[] plotfloors_data = new short[plotworld.TOP_BLOCK.length];

View File

@ -68,7 +68,7 @@ public class Auto extends SubCommand {
if(PlotHelper.getPlot(world, id).owner == null) {
Plot plot = PlotHelper.getPlot(world, id);
boolean result = Claim.claimPlot(plr, plot, true);
br = result;
br = !result;
}
if(z < q && (z - x) < q) {
z++;