Fix /rand returning zero #1728

This commit is contained in:
Cohee 2024-01-24 14:04:45 +02:00
parent cfdf43a26e
commit d5a2f5d9fc
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ function randValuesCallback(from, to, args) {
if (args.round == 'floor') {
return Math.floor(value);
}
return value;
return String(value);
}
export function registerVariableCommands() {