Implemented WorldUnloadEvent and unloadWorld().

By: Rigby <rigby@onarandombox.com>
This commit is contained in:
Bukkit/Spigot
2011-06-04 06:46:21 +01:00
parent 1dca6874d8
commit 516d253953
5 changed files with 57 additions and 0 deletions

View File

@@ -555,6 +555,13 @@ public final class JavaPluginLoader implements PluginLoader {
}
};
case WORLD_UNLOAD:
return new EventExecutor() {
public void execute(Listener listener, Event event) {
((WorldListener) listener).onWorldUnload((WorldUnloadEvent) event);
}
};
// Painting Events
case PAINTING_PLACE:
return new EventExecutor() {