mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Fixes #1951
This commit is contained in:
parent
67a70d4ade
commit
a83b51eb12
@ -2476,7 +2476,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
// player is null
|
||||
|
Loading…
Reference in New Issue
Block a user