This commit is contained in:
DBotThePony 2025-04-03 11:09:13 +07:00
parent 174a86b33c
commit 3cdcb411f7
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -162,12 +162,12 @@ object EnhancedPlacedFeature : Feature<EnhancedPlacedFeature.Config>(
}
val instances = ArrayList<P>()
instances.sort()
withIndex.forEach { (i, it) ->
instances.add(P(i, cache.get(it) { evaluate(context, it) }))
}
instances.sort()
var any = false
instances.forEach { any = it.v.place(context) }
return any