mirror of
https://github.com/PEXPlugins/Modifyworld.git
synced 2024-11-16 10:35:32 +01:00
Fixed wrong event handler type
This commit is contained in:
parent
eca2c8d8eb
commit
82802548ae
@ -38,7 +38,7 @@ public class VehicleListener extends ModifyworldListener {
|
||||
super(plugin, config);
|
||||
}
|
||||
|
||||
@EventHandler(Type.VEHICLE_DESTROY)
|
||||
@EventHandler(Type.VEHICLE_DAMAGE)
|
||||
public void onVehicleDamage(VehicleDamageEvent event) {
|
||||
if (!(event.getAttacker() instanceof Player)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user