We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8775c56 commit 2b983fbCopy full SHA for 2b983fb
src/main/kotlin/com/lambda/config/groups/Targeting.kt
@@ -115,8 +115,8 @@ abstract class Targeting(
115
* @return `true` if the entity is valid for targeting, `false` otherwise.
116
*/
117
open fun validate(player: ClientPlayerEntity, entity: LivingEntity) = when {
118
+ !friends && entity is OtherClientPlayerEntity && entity.isFriend -> false
119
!players && entity is OtherClientPlayerEntity -> false
- players && entity is OtherClientPlayerEntity && entity.isFriend -> false
120
!animals && entity is PassiveEntity -> false
121
!hostiles && entity is HostileEntity -> false
122
entity is ArmorStandEntity -> false
0 commit comments