From c5d0f4c92bbb1f5039eed2e0f4745d447d8c6c5e Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 18 Jan 2015 22:13:11 -0800 Subject: [PATCH] fixed owners not being able to view plot inbox. --- PlotSquared/pom.xml | 2 +- .../main/java/com/intellectualcrafters/plot/commands/Inbox.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PlotSquared/pom.xml b/PlotSquared/pom.xml index efca84a27..edf7bc38c 100644 --- a/PlotSquared/pom.xml +++ b/PlotSquared/pom.xml @@ -8,7 +8,7 @@ UTF-8 PlotSquared - 2.5.10 + 2.5.11 PlotSquared jar diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java index 2714ae9a1..5ec07485b 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java @@ -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;