Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.39k stars 374 forks source link

Fix `/wind` #3018

Closed punchready closed 2 weeks ago

punchready commented 5 months ago

The command was randomly changed in https://github.com/Pryaxis/TShock/commit/05a4e025f7831c6163daa8fbdb1c9436e61aa45e to parse as int instead but not do any conversions. This fixes it, allows entering the value in mph, and limits the range to the safe one also accessible through the journey menu. See https://github.com/Pryaxis/TShock/discussions/3017.

lucasgames8957 commented 2 months ago

These changes will run correctly (according to my smooth as heck brain)