Fix plot automerging

This commit is contained in:
boy0001
2015-08-25 00:19:50 +10:00
parent f2d56ec231
commit 3bc3b51a27
2 changed files with 24 additions and 2 deletions

View File

@ -859,6 +859,7 @@ public class MainUtil {
if (count > 16) {
break;
}
merge = false;
count++;
final PlotId bot = getBottomPlot(plot).id;
final PlotId top = getTopPlot(plot).id;
@ -898,10 +899,8 @@ public class MainUtil {
continue;
}
}
merge = false;
}
for (PlotId id : toUpdate) {
Plot update = getPlot(plot.world, id);
DBFunc.setMerged(plot, plot.getSettings().getMerged());
}
}