Added onStructureGrow event, thanks to md-5.

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-12-09 16:12:05 +00:00
parent 96311db0bf
commit 7aff3534fa
5 changed files with 108 additions and 4 deletions

View File

@@ -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: