Possible fix for trim: #482
Fixes #480
Possible fix for #481
Reduce plot move debugspam
This commit is contained in:
boy0001
2015-08-01 03:01:25 +10:00
parent 96dd736a6d
commit 58cf41bddb
4 changed files with 30 additions and 4 deletions

View File

@ -134,7 +134,7 @@ public class Trim extends SubCommand {
return;
}
final Plot plot = plots.remove(0);
plots.remove(0);
final Location pos1 = MainUtil.getPlotBottomLoc(world, plot.id);
final Location pos2 = MainUtil.getPlotTopLoc(world, plot.id);

View File

@ -351,6 +351,9 @@ public class MainUtil {
public static boolean isPlotAreaAbs(final Location location) {
final PlotWorld plotworld = PS.get().getPlotWorld(location.getWorld());
if (plotworld == null) {
return false;
}
if (plotworld.TYPE == 2) {
return ClusterManager.getClusterAbs(location) != null;
}