First two hooks working, updated sample

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2010-12-26 02:20:05 +00:00
parent 42ef5c31b7
commit a3ff0f1177
8 changed files with 53 additions and 23 deletions

View File

@@ -82,7 +82,7 @@ public final class JavaPluginLoader implements PluginLoader {
switch (type) {
case Join:
trueListener.onPlayerJoin((PlayerJoinEvent)event);
trueListener.onPlayerJoin((PlayerEvent)event);
break;
case Quit:
trueListener.onPlayerQuit((PlayerQuitEvent)event);