mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-21 21:52:07 +02:00
kolby suggestion
This commit is contained in:
parent
cb253f03b6
commit
988c541c87
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@ export const queryList = [
|
||||||
if (inventory[item] && inventory[item] > 0)
|
if (inventory[item] && inventory[item] > 0)
|
||||||
res += `\n- ${item}: ${inventory[item]}`;
|
res += `\n- ${item}: ${inventory[item]}`;
|
||||||
}
|
}
|
||||||
if (res == 'INVENTORY') {
|
if (res === 'INVENTORY') {
|
||||||
res += ': none';
|
res += ': none';
|
||||||
}
|
}
|
||||||
if (agent.bot.game.gameMode === 'creative') {
|
else if (agent.bot.game.gameMode === 'creative') {
|
||||||
res += '\n(You have infinite items in creative mode)';
|
res += '\n(You have infinite items in creative mode)';
|
||||||
}
|
}
|
||||||
return pad(res);
|
return pad(res);
|
||||||
|
|
Loading…
Add table
Reference in a new issue