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>
</properties>
<artifactId>PlotSquared</artifactId>
<version>2.11.10</version>
<version>2.11.11</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -375,7 +375,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
final Set<Player> 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);
}
}