This commit is contained in:
boy0001 2015-07-26 15:14:01 +10:00
parent 08cc8c58f2
commit 0988ef7311

View File

@ -93,6 +93,16 @@ public class PlotHandler {
return true; return true;
} }
} }
return PlotHandler.isOwner(plot, uuid); if (plot.isMerged()) {
Plot top = MainUtil.getTopPlot(plot);
ArrayList<PlotId> ids = MainUtil.getPlotSelectionIds(plot.id, top.id);
for (PlotId id : ids) {
UUID owner = MainUtil.getPlot(plot.world, id).owner;
if (owner != null && owner.equals(uuid)) {
return true;
}
}
}
return false;
} }
} }