mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
I was tired, okay.
This commit is contained in:
parent
adfd0e6674
commit
0f3d6b63f5
1 changed files with 1 additions and 5 deletions
|
@ -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 a new issue