Skip to content

Commit af6505e

Browse files
authored
not tested dropping system
1 parent d788b37 commit af6505e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/scripts/proxy/Proxy.worker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ addEventListener('message', function (e) {
142142
case 'rotate':
143143
bot.look(data[0][0], data[0][1])
144144
break
145+
case 'drop':
146+
bot.tossStack(bot.heldItem)
147+
break
145148
case 'dig':
146149
block = bot.blockAt(vec3(data[0][0], data[0][1] - 16, data[0][2]))
147150
if (block !== null) {

0 commit comments

Comments
 (0)