fix splitstring bug
parent
aed3c6bf1e
commit
18896e3ea5
|
@ -100,7 +100,7 @@ minetest.register_chatcommand("playerspawn", {
|
|||
privs = "spawnadmin",
|
||||
func = function(name, args)
|
||||
if args ~= "" then
|
||||
args = args:splitstring(" ")
|
||||
args = args:split(" ")
|
||||
|
||||
if #args == 2 then
|
||||
local tname = args[1]
|
||||
|
|
Loading…
Reference in New Issue