File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
common/src/main/kotlin/com/lambda/config/groups Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ abstract class Targeting(
113113 * @return `true` if the entity is valid for targeting, `false` otherwise.
114114 */
115115 open fun validate (player : ClientPlayerEntity , entity : LivingEntity ) = when {
116- ! players && (entity is OtherClientPlayerEntity && entity.isFriend) -> false
116+ ! players || (entity is OtherClientPlayerEntity && entity.isFriend) -> false
117117 ! animals && entity is PassiveEntity -> false
118118 ! hostiles && entity is MobEntity -> false
119119 entity is ArmorStandEntity -> false
@@ -174,8 +174,7 @@ abstract class Targeting(
174174 }
175175
176176 private val illegalTargets = setOf (
177- UUID (5706954458220675710 , - 6736729783554821869 ),
178- UUID (- 6114492090883684892 , - 8539188786807016414 )
177+ UUID (5706954458220675710 , - 6736729783554821869 )
179178 )
180179 }
181180
You can’t perform that action at this time.
0 commit comments