I was tired, okay.

This commit is contained in:
Alexander Söderberg 2016-01-18 23:07:10 +01:00
parent adfd0e6674
commit 0f3d6b63f5

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;
}