mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2025-08-28 21:28:44 -04:00
minor fixes...
This commit is contained in:
parent
6f02c10483
commit
45ea9aed19
2 changed files with 3 additions and 2 deletions
1
build.js
1
build.js
|
@ -1,6 +1,7 @@
|
||||||
const fsExtra = require('fs-extra')
|
const fsExtra = require('fs-extra')
|
||||||
|
|
||||||
exports.copyFiles = () => {
|
exports.copyFiles = () => {
|
||||||
|
fsExtra.copySync('styles.css', 'public/styles.css')
|
||||||
fsExtra.copySync('node_modules/prismarine-viewer/public/blocksStates/', 'public/blocksStates/')
|
fsExtra.copySync('node_modules/prismarine-viewer/public/blocksStates/', 'public/blocksStates/')
|
||||||
fsExtra.copySync('node_modules/prismarine-viewer/public/textures/', 'public/textures/')
|
fsExtra.copySync('node_modules/prismarine-viewer/public/textures/', 'public/textures/')
|
||||||
fsExtra.copySync('node_modules/prismarine-viewer/public/worker.js', 'public/worker.js')
|
fsExtra.copySync('node_modules/prismarine-viewer/public/worker.js', 'public/worker.js')
|
||||||
|
|
4
index.js
4
index.js
|
@ -399,10 +399,10 @@ async function connect (options) {
|
||||||
bot.setControlState('jump', false)
|
bot.setControlState('jump', false)
|
||||||
break
|
break
|
||||||
case 'KeyD':
|
case 'KeyD':
|
||||||
bot.setControlState('left', false)
|
bot.setControlState('right', false)
|
||||||
break
|
break
|
||||||
case 'KeyA':
|
case 'KeyA':
|
||||||
bot.setControlState('right', false)
|
bot.setControlState('left', false)
|
||||||
break
|
break
|
||||||
case 'KeyS':
|
case 'KeyS':
|
||||||
bot.setControlState('back', false)
|
bot.setControlState('back', false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue