Remove the unicorn check when testing for a spell's owner

This commit is contained in:
Sollace 2023-09-03 19:11:22 +01:00
parent 85f01c317c
commit 2b44d4dd81
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -57,7 +57,7 @@ public class TargetSelecter {
public static <T extends Entity> boolean isOwnerOrFriend(Affine affine, Caster<?> source, Entity target) { public static <T extends Entity> boolean isOwnerOrFriend(Affine affine, Caster<?> source, Entity target) {
Entity owner = source.getMaster(); Entity owner = source.getMaster();
if (affine.isEnemy(source) || !EquinePredicates.PLAYER_UNICORN.test(owner)) { if (affine.isEnemy(source)) {
return FriendshipBraceletItem.isComrade(source, target); return FriendshipBraceletItem.isComrade(source, target);
} }