mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-02 08:50:17 +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;
|
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 New Issue
Block a user