mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
Fixes #1951
This commit is contained in:
parent
67a70d4ade
commit
a83b51eb12
1 changed files with 1 additions and 1 deletions
|
@ -2476,7 +2476,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} else if (dplot != null && (!(dplot.equals(vplot)) || (vplot != null && dplot.isOwner(vplot.owner)))) {
|
} else if (dplot != null && (!(dplot.equals(vplot)) || (vplot != null && Objects.equals(dplot.owner, vplot.owner)))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// player is null
|
// player is null
|
||||||
|
|
Loading…
Reference in a new issue