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;