We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8bc7bf commit 5d3dadeCopy full SHA for 5d3dade
src/engine/world/actor/player/player.ts
@@ -804,7 +804,7 @@ export class Player extends Actor {
804
let strHelp: string = '';
805
if(command.args) {
806
for(const arg of command.args) {
807
- if(arg.defaultValue) {
+ if(arg.defaultValue !== undefined) {
808
strHelp = `${strHelp} \\<${arg.name} = ${arg.defaultValue}>`;
809
} else {
810
strHelp = `${strHelp} \\<${arg.name}>`;
0 commit comments