fix splitstring bug
This commit is contained in:
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…
x
Reference in New Issue
Block a user