HuskHomes
HuskHomes copied to clipboard
Unable to /tp number-only usernames to coordinates
probably due to the numbers being recognized as a coordinate themselves.
A nasty bug to fix unfortunately as it's caused by a quirk in the logic for parsing the modular command arguments of /tp https://github.com/WiIIiam278/HuskHomes2/blob/88802db702331cd05116880df9ca4a3f0f87820b/common/src/main/java/net/william278/huskhomes/command/TpCommand.java#L34-L38
Essentially, isCoordinate
is returning true on usernames that are also technically valid coordinates. Will need to adjust this so that it attempts to find a matching player (or world?) first. Kind of a hard-to-win at issue!