Skip to content

Commit

Permalink
fix ci build type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Dec 14, 2024
1 parent 725f6ec commit 372583b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prismarine-viewer/examples/baseScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { WorldDataEmitter } from '../viewer'
import { Viewer } from '../viewer/lib/viewer'
import { BlockNames } from '../../src/mcDataTypes'
import { initWithRenderer, statsEnd, statsStart } from '../../src/topRightStats'
import { defaultWorldRendererConfig } from '../viewer/lib/worldrendererCommon'
import { getSyncWorld } from './shared'

window.THREE = THREE
Expand Down Expand Up @@ -158,7 +159,7 @@ export class BasePlaygroundScene {
renderer.setSize(window.innerWidth, window.innerHeight)

// Create viewer
const viewer = new Viewer(renderer, { numWorkers: 6, showChunkBorders: false, })
const viewer = new Viewer(renderer, { ...defaultWorldRendererConfig, numWorkers: 6 })
window.viewer = viewer
const isWebgpu = false
const promises = [] as Array<Promise<void>>
Expand Down

0 comments on commit 372583b

Please sign in to comment.