mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +01:00
I was tired, okay.
This commit is contained in:
parent
adfd0e6674
commit
0f3d6b63f5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user