From 8a90753aa7ad9a40d87f11acd3bc725df7534535 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 31 May 2015 05:59:28 +1000 Subject: [PATCH] Fixed plot chat --- PlotSquared/pom.xml | 2 +- .../com/intellectualcrafters/plot/listeners/PlayerEvents.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PlotSquared/pom.xml b/PlotSquared/pom.xml index 879deba89..63c836f3b 100644 --- a/PlotSquared/pom.xml +++ b/PlotSquared/pom.xml @@ -8,7 +8,7 @@ UTF-8 PlotSquared - 2.11.10 + 2.11.11 PlotSquared jar diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java index 9a6ca8acf..f7f058f72 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java @@ -375,7 +375,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi final Set recipients = event.getRecipients(); recipients.clear(); for (final Player p : Bukkit.getOnlinePlayers()) { - if (MainUtil.getPlot(BukkitUtil.getLocation(p)).equals(plot)) { + if (plot.equals(MainUtil.getPlot(BukkitUtil.getLocation(p)))) { recipients.add(p); } }