Skip to content

Commit 153101f

Browse files
committedOct 28, 2024
ci: fix lint
1 parent d497299 commit 153101f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎prismarine-viewer/examples/baseScene.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class BasePlaygroundScene {
117117
const block =
118118
properties ?
119119
this.Block.fromProperties(loadedData.blocksByName[blockName].id, properties ?? {}, 0) :
120-
this.Block.fromStateId(loadedData.blocksByName[blockName].defaultState!, 0)
120+
this.Block.fromStateId(loadedData.blocksByName[blockName].defaultState, 0)
121121
this.world.setBlock(this.targetPos.offset(xOffset, yOffset, zOffset), block)
122122
}
123123

0 commit comments

Comments
 (0)