mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-17 23:48:00 +01:00
Remove the unicorn check when testing for a spell's owner
This commit is contained in:
parent
85f01c317c
commit
2b44d4dd81
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class TargetSelecter {
|
|||
public static <T extends Entity> 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue