1
0
Fork 0
mirror of https://github.com/Sollace/Unicopia.git synced 2025-03-04 17:21:28 +01:00

Fixed the magic projectile ability

This commit is contained in:
Sollace 2022-10-09 00:23:47 +02:00
parent 986c4a5f85
commit f3cdeaf504

View file

@ -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) {