mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 10:25:06 -04:00
fix benchmark building
This commit is contained in:
parent
ac3088e0db
commit
f3bbf64e21
@ -110,7 +110,7 @@ object ChunkTestingUtil {
|
|||||||
val block = TestBlock(minosoft(name), BlockSettings())
|
val block = TestBlock(minosoft(name), BlockSettings())
|
||||||
val state = AdvancedBlockState(block, properties = emptyMap(), collisionShape = AbstractVoxelShape.EMPTY, outlineShape = AbstractVoxelShape.EMPTY, luminance = luminance, lightProperties = lightProperties, solidRenderer = true)
|
val state = AdvancedBlockState(block, properties = emptyMap(), collisionShape = AbstractVoxelShape.EMPTY, outlineShape = AbstractVoxelShape.EMPTY, luminance = luminance, lightProperties = lightProperties, solidRenderer = true)
|
||||||
block::states.javaField!!.forceSet(block, setOf(state))
|
block::states.javaField!!.forceSet(block, setOf(state))
|
||||||
block::defaultState.javaField!!.forceSet(block, state)
|
block.states::default.javaField!!.forceSet(block, state)
|
||||||
|
|
||||||
return block
|
return block
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user