mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed the magic projectile ability
This commit is contained in:
parent
986c4a5f85
commit
f3cdeaf504
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class UnicornProjectileAbility implements Ability<Hit> {
|
|||
|
||||
@Override
|
||||
public void apply(Pony player, Hit data) {
|
||||
TypedActionResult<CustomisedSpellType<?>> thrown = player.getCharms().getSpellInHand(Hand.MAIN_HAND);
|
||||
TypedActionResult<CustomisedSpellType<?>> thrown = player.getCharms().getSpellInHand(Hand.OFF_HAND);
|
||||
|
||||
if (thrown.getResult() != ActionResult.FAIL) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue