feat(informer): ✨ add command me
for block info based on player position
This commit is contained in:
parent
ccf0c598e8
commit
25faac2f4c
|
@ -132,6 +132,17 @@ function command(message_parts, player) {
|
||||||
case "item":
|
case "item":
|
||||||
item(message_parts[1])
|
item(message_parts[1])
|
||||||
break
|
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 "e":
|
||||||
case "entity":
|
case "entity":
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user