feat(informer): ✨ add case for when sub command is passed a single param
Currently returns: - Item at given slot number - Entity that matches given name
This commit is contained in:
parent
63849e0729
commit
7cbfa16476
|
@ -66,6 +66,18 @@ function command(message_parts) {
|
|||
|
||||
break;
|
||||
|
||||
case 2:
|
||||
switch (message_parts[0]) {
|
||||
case "item":
|
||||
item(message_parts[1])
|
||||
break
|
||||
case "entity":
|
||||
default:
|
||||
entity(message_parts[1])
|
||||
break;
|
||||
}
|
||||
break
|
||||
|
||||
case 4:
|
||||
switch (message_parts[0]) {
|
||||
case "block":
|
||||
|
|
Loading…
Reference in New Issue
Block a user