mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -562,6 +562,13 @@ public final class JavaPluginLoader implements PluginLoader {
|
||||
((ServerListener) listener).onServerCommand((ServerCommandEvent) event);
|
||||
}
|
||||
};
|
||||
|
||||
case MAP_INITIALIZE:
|
||||
return new EventExecutor() {
|
||||
public void execute(Listener listener, Event event) {
|
||||
((ServerListener) listener).onMapInitialize((MapInitializeEvent) event);
|
||||
}
|
||||
};
|
||||
|
||||
// World Events
|
||||
case CHUNK_LOAD:
|
||||
|
Reference in New Issue
Block a user