]> git.lizzy.rs Git - dragonfireclient.git/commit
Add relative numbers for commands by prepending ~ (#9588)
authorWuzzy <Wuzzy@disroot.org>
Sun, 22 May 2022 14:28:24 +0000 (14:28 +0000)
committerGitHub <noreply@github.com>
Sun, 22 May 2022 14:28:24 +0000 (10:28 -0400)
commitac5e8176b9a2b36520bcc78b9d486aea7742d554
treedcff272c35d4c62a49d1252ee1ed1a651c09fdbd
parent9f338f5a56e5adee3d11d59827f7e2b8a714e6c2
Add relative numbers for commands by prepending ~ (#9588)

* Add relative numbers for commands by prepending ~

* Some builtin code cleanup

* Disallow nan and inf in minetest.string_to_area

* Remove unused local variable teleportee (makes Luacheck happy)

* Clean up core.string_to_pos

* Make area parsing less permissive

* Rewrite tests as busted tests

* /time: Fix negative minutes not working

Co-authored-by: Lars Mueller <appgurulars@gmx.de>
builtin/common/misc_helpers.lua
builtin/common/tests/misc_helpers_spec.lua
builtin/game/chat.lua
doc/lua_api.txt