Some more backwards incompatible changes (minor though), also a ton of small cleanup.
onPluginEnable(PluginEvent event) -> onPluginEnable(PluginEnableEvent event) onPluginDisable(PluginEvent event) -> onPluginDisable(PluginDisableEvent event) onVehicleUpdate(VehicleEvent event) -> onVehicleUpdate(VehicleUpdateEvent event) onWorldSave(WorldEvent event) -> onWorldSave(WorldSaveEvent event) onWorldLoad(WorldEvent event) -> onWorldLoad(WorldLoadEvent event)
This commit is contained in:
@@ -8,8 +8,8 @@ public class ExplosionPrimeEvent extends EntityEvent implements Cancellable {
|
||||
private float radius;
|
||||
private boolean fire;
|
||||
|
||||
public ExplosionPrimeEvent(Type type, Entity what, float radius, boolean fire) {
|
||||
super(type.EXPLOSION_PRIME, what);
|
||||
public ExplosionPrimeEvent(Entity what, float radius, boolean fire) {
|
||||
super(Type.EXPLOSION_PRIME, what);
|
||||
this.cancel = false;
|
||||
this.radius = radius;
|
||||
this.fire = fire;
|
||||
|
||||
Reference in New Issue
Block a user