Added PlayerChangedWorldEvent.

By: sunkid <sunkid@iminurnetz.com>
This commit is contained in:
Bukkit/Spigot
2011-09-30 20:29:24 +02:00
parent 2ef3dfed7b
commit 2a3a80d543
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() {