From 2b44d4dd810c72d96cf2299d23affa0b2d0b6786 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 3 Sep 2023 19:11:22 +0100 Subject: [PATCH] Remove the unicorn check when testing for a spell's owner --- .../unicopia/ability/magic/spell/effect/TargetSelecter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/TargetSelecter.java b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/TargetSelecter.java index 50dae5cd..b2482157 100644 --- a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/TargetSelecter.java +++ b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/TargetSelecter.java @@ -57,7 +57,7 @@ public class TargetSelecter { public static boolean isOwnerOrFriend(Affine affine, Caster source, Entity target) { Entity owner = source.getMaster(); - if (affine.isEnemy(source) || !EquinePredicates.PLAYER_UNICORN.test(owner)) { + if (affine.isEnemy(source)) { return FriendshipBraceletItem.isComrade(source, target); }