mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-03-01 15:51:03 +01:00
Added 1_16_R2 to the spigot jar
This commit is contained in:
parent
43724ead1f
commit
799f699647
Binary file not shown.
BIN
lib/spigot.jar
BIN
lib/spigot.jar
Binary file not shown.
@ -39,7 +39,7 @@ public class Earthquake extends Ability {
|
||||
|
||||
@Override
|
||||
public AbilityResult whenRan(CachedStats stats, LivingEntity target, AbilityData ability, ItemAttackResult result) {
|
||||
return stats.getPlayer().isOnGround() ? new VectorAbilityResult(ability, stats.getPlayer(), target) : new SimpleAbilityResult(ability, false);
|
||||
return ((LivingEntity) stats.getPlayer()).isOnGround() ? new VectorAbilityResult(ability, stats.getPlayer(), target) : new SimpleAbilityResult(ability, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -28,7 +28,7 @@ public class Hoearthquake extends Ability {
|
||||
|
||||
@Override
|
||||
public AbilityResult whenRan(CachedStats stats, LivingEntity target, AbilityData ability, ItemAttackResult result) {
|
||||
return new SimpleAbilityResult(ability, stats.getPlayer().isOnGround());
|
||||
return new SimpleAbilityResult(ability, ((LivingEntity) stats.getPlayer()).isOnGround());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -26,7 +26,7 @@ public class Leap extends Ability {
|
||||
|
||||
@Override
|
||||
public AbilityResult whenRan(CachedStats stats, LivingEntity target, AbilityData ability, ItemAttackResult result) {
|
||||
return new SimpleAbilityResult(ability, stats.getPlayer().isOnGround());
|
||||
return new SimpleAbilityResult(ability, ((LivingEntity) stats.getPlayer()).isOnGround());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -36,7 +36,7 @@ public class Magical_Shield extends Ability {
|
||||
|
||||
@Override
|
||||
public AbilityResult whenRan(CachedStats stats, LivingEntity target, AbilityData ability, ItemAttackResult result) {
|
||||
return new SimpleAbilityResult(ability, stats.getPlayer().isOnGround());
|
||||
return new SimpleAbilityResult(ability, ((LivingEntity) stats.getPlayer()).isOnGround());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -40,7 +40,7 @@ public class Arcane_Rift extends Ability {
|
||||
|
||||
@Override
|
||||
public AbilityResult whenRan(CachedStats stats, LivingEntity target, AbilityData ability, ItemAttackResult result) {
|
||||
if (!stats.getPlayer().isOnGround())
|
||||
if (!((LivingEntity) stats.getPlayer()).isOnGround())
|
||||
return new SimpleAbilityResult(ability, false);
|
||||
|
||||
return new VectorAbilityResult(ability, stats.getPlayer(), target);
|
||||
|
Loading…
Reference in New Issue
Block a user