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); } }