unbted
unbted copied to clipboard
Unable to set player position to negative coordinates
Like the title says, I was trying to modify my player's position, but I seem to be unable to set the x, y, or z values to negatives.
*[/Data/Player/Pos]> ls
double 0 = 8713.701122062399
double 1 = 83.62000000476837
double 2 = 3737.35901907849
*[/Data/Player/Pos]> cd 0
unbted: cd: double is not valid here
*[/Data/Player/Pos]> set 0 -3500.0
unbted: set: 3 is not a recognized option
*[/Data/Player/Pos]> set 0 "-3500.0"
unbted: set: 3 is not a recognized option
*[/Data/Player/Pos]> set "0" -3500.0
unbted: set: 3 is not a recognized option
*[/Data/Player/Pos]> set "0" "-3500.0"
unbted: set: 3 is not a recognized option
*[/Data/Player/Pos]>
I have also tried using backslashes to no avail
Try set 0 -- -3500
that works, thank you
Cool. This is an unfortunate quirk of traditional UNIX-style command parsing, which is used by unbted's internal commands.
I wonder if there's something I can enable in joptsimple to make it recognize negative numbers correctly...