This commit is contained in:
Jesse Boyd 2018-05-17 15:21:53 +10:00
parent 67a70d4ade
commit a83b51eb12
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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