Merge pull request #1 from IntellectualSites/master

Up
This commit is contained in:
Gabriele C
2016-01-20 12:44:33 +01:00
2 changed files with 2 additions and 6 deletions

View File

@ -42,11 +42,7 @@ public class PlotHandler {
if (!plot.isMerged()) {
return false;
}
Set<Plot> plots;
synchronized (Bukkit.getServer()) {
plots = MainUtil.getConnectedPlots(plot);
}
for (Plot current : plots) {
for (Plot current : MainUtil.getConnectedPlots(plot);) {
if (current.owner.equals(uuid)) {
return true;
}