Added PlayerChangedWorldEvent.

This commit is contained in:
sunkid
2011-09-30 20:29:24 +02:00
committed by EvilSeph
parent 396e1866b8
commit e6fa9d9198
4 changed files with 39 additions and 0 deletions

View File

@@ -434,6 +434,13 @@ public class JavaPluginLoader implements PluginLoader {
}
};
case PLAYER_CHANGED_WORLD:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((PlayerListener) listener).onPlayerChangedWorld((PlayerChangedWorldEvent) event);
}
};
// Block Events
case BLOCK_PHYSICS:
return new EventExecutor() {