mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Added an EntityCreatePortalEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -763,6 +763,13 @@ public class JavaPluginLoader implements PluginLoader {
|
||||
}
|
||||
};
|
||||
|
||||
case ENTITY_CREATE_PORTAL:
|
||||
return new EventExecutor() {
|
||||
public void execute(Listener listener, Event event) {
|
||||
((EntityListener) listener).onEntityCreatePortalEvent((EntityCreatePortalEvent) event);
|
||||
}
|
||||
};
|
||||
|
||||
case CREATURE_SPAWN:
|
||||
return new EventExecutor() {
|
||||
public void execute(Listener listener, Event event) {
|
||||
|
Reference in New Issue
Block a user