mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-27 04:55:25 +01:00
Make sure all mounts are invincible, not just normal horses.
This commit is contained in:
parent
b40b73ea25
commit
fb1a87f71b
@ -649,7 +649,7 @@ public class ArenaListener
|
||||
onPetDamage(event, (Wolf) damagee, damager);
|
||||
}
|
||||
// Mount
|
||||
else if (damagee instanceof Horse && monsters.hasMount(damagee)) {
|
||||
else if (damagee instanceof AbstractHorse && monsters.hasMount(damagee)) {
|
||||
onMountDamage(event, (Horse) damagee, damager);
|
||||
}
|
||||
// Player
|
||||
|
Loading…
Reference in New Issue
Block a user