We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a7b30 commit cc1e3c1Copy full SHA for cc1e3c1
common/src/main/kotlin/com/lambda/util/world/EntityDsl.kt
@@ -95,5 +95,5 @@ inline fun <reified T : Entity> SafeContext.entitySearch(
95
inline fun <reified T : Entity> SafeContext.fastEntitySearch(
96
range: Double,
97
pos: BlockPos = player.blockPos,
98
- noinline predicate: (T) -> Boolean
+ noinline predicate: (T) -> Boolean = { true }
99
): List<T> = EntityDsl(this, T::class, pos, range, predicate).buildFast()
0 commit comments