fix splitstring bug

master
Tai Kedzierski 2019-01-24 00:39:27 +00:00
parent aed3c6bf1e
commit 18896e3ea5
1 changed files with 1 additions and 1 deletions

View File

@ -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]