mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Added onStructureGrow event, thanks to md-5.
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -677,6 +677,12 @@ public class JavaPluginLoader implements PluginLoader {
|
||||
((WorldListener) listener).onPortalCreate((PortalCreateEvent) event);
|
||||
}
|
||||
};
|
||||
case STRUCTURE_GROW:
|
||||
return new EventExecutor() {
|
||||
public void execute(Listener listener, Event event) {
|
||||
((WorldListener) listener).onStructureGrow((StructureGrowEvent) event);
|
||||
}
|
||||
};
|
||||
|
||||
// Painting Events
|
||||
case PAINTING_PLACE:
|
||||
|
Reference in New Issue
Block a user