feat(informer): add command me for block info based on player position

This commit is contained in:
jay 2021-05-10 18:37:48 +05:00
parent ccf0c598e8
commit 25faac2f4c

View File

@ -132,6 +132,17 @@ function command(message_parts, player) {
case "item":
item(message_parts[1])
break
case "b":
case "block":
switch (message_parts[1]) {
case "me":
block(player)
break
default:
console.log(bot.players[message_parts[1]])
quiet || bot.chat("info: not yet implemented")
}
break
case "e":
case "entity":
default: