Ooprs!!1
This commit is contained in:
parent
174a86b33c
commit
3cdcb411f7
@ -162,12 +162,12 @@ object EnhancedPlacedFeature : Feature<EnhancedPlacedFeature.Config>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
val instances = ArrayList<P>()
|
val instances = ArrayList<P>()
|
||||||
instances.sort()
|
|
||||||
|
|
||||||
withIndex.forEach { (i, it) ->
|
withIndex.forEach { (i, it) ->
|
||||||
instances.add(P(i, cache.get(it) { evaluate(context, it) }))
|
instances.add(P(i, cache.get(it) { evaluate(context, it) }))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
instances.sort()
|
||||||
var any = false
|
var any = false
|
||||||
instances.forEach { any = it.v.place(context) }
|
instances.forEach { any = it.v.place(context) }
|
||||||
return any
|
return any
|
||||||
|
Loading…
Reference in New Issue
Block a user