Fixed plot chat

This commit is contained in:
boy0001 2015-05-31 05:59:28 +10:00
parent d68f57efb8
commit 8a90753aa7
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<artifactId>PlotSquared</artifactId> <artifactId>PlotSquared</artifactId>
<version>2.11.10</version> <version>2.11.11</version>
<name>PlotSquared</name> <name>PlotSquared</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<build> <build>

View File

@ -375,7 +375,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
final Set<Player> recipients = event.getRecipients(); final Set<Player> recipients = event.getRecipients();
recipients.clear(); recipients.clear();
for (final Player p : Bukkit.getOnlinePlayers()) { 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); recipients.add(p);
} }
} }