Implemented WorldUnloadEvent and unloadWorld().

This commit is contained in:
Rigby
2011-06-04 06:46:21 +01:00
committed by EvilSeph
parent 888d201388
commit 826bcf1d4a
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() {