Skip to content

Commit

Permalink
fix: update flying-squid to respect time in saves!
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed May 20, 2024
1 parent 97ca34e commit 2bec255
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 29 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"esbuild-plugin-polyfill-node": "^0.3.0",
"express": "^4.18.2",
"filesize": "^10.0.12",
"flying-squid": "npm:@zardoy/flying-squid@^0.0.20",
"flying-squid": "npm:@zardoy/flying-squid@^0.0.24",
"fs-extra": "^11.1.1",
"google-drive-browserfs": "github:zardoy/browserfs#google-drive",
"iconify-icon": "^1.0.8",
Expand Down
36 changes: 8 additions & 28 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions prismarine-viewer/viewer/lib/worldDataEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export class WorldDataEmitter extends EventEmitter {
},
}))
this.emitter.emit('renderDistance', this.viewDistance)
this.emitter.emit('time', bot.time.timeOfDay)
})
// node.js stream data event pattern
if (this.emitter.listenerCount('blockEntities')) {
Expand Down

0 comments on commit 2bec255

Please sign in to comment.