mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
fixed owners not being able to view plot inbox.
This commit is contained in:
parent
cf43c74ad9
commit
c5d0f4c92b
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user