Added player join event

This commit is contained in:
Raphfrk
2011-03-26 11:29:48 +00:00
committed by Erik Broes
parent d3620924fe
commit aa0732519c
3 changed files with 32 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ public final class JavaPluginLoader implements PluginLoader {
case PLAYER_JOIN:
return new EventExecutor() {
public void execute( Listener listener, Event event ) {
((PlayerListener)listener).onPlayerJoin( (PlayerEvent)event );
((PlayerListener)listener).onPlayerJoin( (PlayerJoinEvent)event );
}
};
case PLAYER_QUIT: