summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/com/earth2me/essentials/update
diff options
context:
space:
mode:
authorementalo <ementalodev@gmx.co.uk>2012-08-04 09:25:54 +0100
committerementalo <ementalodev@gmx.co.uk>2012-08-04 09:25:54 +0100
commitaf73c11638fda0c65fa68506d301b2a68b780bf6 (patch)
tree52e4cf55b5480742ff6830c76e82b9b0c92d8bdc /EssentialsUpdate/src/com/earth2me/essentials/update
parent1a07815f4b535cc80c32579b010294eb4b49ecfc (diff)
downloadEssentials-af73c11638fda0c65fa68506d301b2a68b780bf6.tar
Essentials-af73c11638fda0c65fa68506d301b2a68b780bf6.tar.gz
Essentials-af73c11638fda0c65fa68506d301b2a68b780bf6.tar.lz
Essentials-af73c11638fda0c65fa68506d301b2a68b780bf6.tar.xz
Essentials-af73c11638fda0c65fa68506d301b2a68b780bf6.zip
CB #2289 Bukkit #1512
Change PlayerChatEvent to AsyncPlayerChatEvent
Diffstat (limited to 'EssentialsUpdate/src/com/earth2me/essentials/update')
-rw-r--r--EssentialsUpdate/src/com/earth2me/essentials/update/EssentialsHelp.java4
-rw-r--r--EssentialsUpdate/src/com/earth2me/essentials/update/UpdateProcess.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/EssentialsUpdate/src/com/earth2me/essentials/update/EssentialsHelp.java b/EssentialsUpdate/src/com/earth2me/essentials/update/EssentialsHelp.java
index 7dd46451a..63cdc094a 100644
--- a/EssentialsUpdate/src/com/earth2me/essentials/update/EssentialsHelp.java
+++ b/EssentialsUpdate/src/com/earth2me/essentials/update/EssentialsHelp.java
@@ -9,7 +9,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
-import org.bukkit.event.player.PlayerChatEvent;
+import org.bukkit.event.player.AsyncPlayerChatEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginManager;
@@ -154,7 +154,7 @@ public class EssentialsHelp implements Listener
}
@EventHandler
- public void onPlayerChat(final PlayerChatEvent event)
+ public void onPlayerChat(final AsyncPlayerChatEvent event)
{
if (event.getPlayer() == chatUser)
{
diff --git a/EssentialsUpdate/src/com/earth2me/essentials/update/UpdateProcess.java b/EssentialsUpdate/src/com/earth2me/essentials/update/UpdateProcess.java
index 9fa587f8f..29c227794 100644
--- a/EssentialsUpdate/src/com/earth2me/essentials/update/UpdateProcess.java
+++ b/EssentialsUpdate/src/com/earth2me/essentials/update/UpdateProcess.java
@@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
-import org.bukkit.event.player.PlayerChatEvent;
+import org.bukkit.event.player.AsyncPlayerChatEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.Plugin;
@@ -100,7 +100,7 @@ public class UpdateProcess implements Listener
}
@EventHandler(priority = EventPriority.LOWEST)
- public void onPlayerChat(final PlayerChatEvent event)
+ public void onPlayerChat(final AsyncPlayerChatEvent event)
{
if (event.getPlayer() == currentPlayer)
{