mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Added EntityRegainHealthEvent. Thanks TimWolla!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -690,6 +690,13 @@ public final class JavaPluginLoader implements PluginLoader {
|
||||
}
|
||||
};
|
||||
|
||||
case ENTITY_REGAIN_HEALTH:
|
||||
return new EventExecutor() {
|
||||
public void execute(Listener listener, Event event) {
|
||||
((EntityListener) listener).onEntityRegainHealth((EntityRegainHealthEvent) event);
|
||||
}
|
||||
};
|
||||
|
||||
// Vehicle Events
|
||||
case VEHICLE_CREATE:
|
||||
return new EventExecutor() {
|
||||
|
Reference in New Issue
Block a user