fixed owners not being able to view plot inbox.

This commit is contained in:
Jesse Boyd 2015-01-18 22:13:11 -08:00
parent cf43c74ad9
commit c5d0f4c92b
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -66,7 +66,7 @@ public class Inbox extends SubCommand {
final UUID uuid = UUIDHandler.getUUID(plr);
if (PlotMain.hasPermission(plr, "plots.comment.admin")) {
tier = 0;
} else if (plot != null && plot.owner == uuid) {
} else if (plot != null && plot.owner.equals(uuid)) {
tier = 1;
} else if (plot != null && plot.helpers.contains(uuid)) {
tier = 2;