Change PlayerChatEvent to AsyncPlayerChatEvent.
XxCoolGamesxX opened this issue ยท 3 comments
2012-08-04 13:04:14 [WARNING] [VanishNoPacket] "VanishNoPacket v3.11" has registered a listener for org.bukkit.event.player.PlayerChatEvent on method "public void org.kitteh.vanish.listeners.ListenPlayerMessages.onPlayerChat(org.bukkit.event.player.PlayerChatEvent)", but the event is Deprecated. Server performance will be affected; please notify the authors [mbaxter].
org.bukkit.plugin.AuthorNagException
at org.bukkit.plugin.java.JavaPluginLoader.createRegisteredListeners(JavaPluginLoader.java:302)
at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:507)
at org.kitteh.vanish.VanishPlugin.onEnable(VanishPlugin.java:312)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245)
at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-08-04 13:04:14 [INFO] [VanishNoPacket] v3.11 loaded.
My CraftBukkit is 1.3.1 - Build 2291 Dev.
I've pushed a commit that hopefully fixes this, as soon as I've tested and mbaxter gives the go ahead we'll merge it into the master branch and push out a build for it
I'm going to keep this open because people aren't going to notice it. Until I get a fully updated build out.