isAdded now checks owner

This commit is contained in:
boy0001 2015-04-02 22:39:11 +11:00
parent 1b11590d60
commit 288b84bd6a
2 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<artifactId>PlotSquared</artifactId>
<version>2.9.3</version>
<version>2.9.4</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -79,6 +79,9 @@ public class PlotHandler {
if (plot.owner == null) {
return false;
}
if (isOwner(plot, uuid)) {
return true;
}
if (plot.denied.contains(uuid)) {
return false;
}