mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
[mesecons_commandblock] fix warnings
This commit is contained in:
parent
4fd0ea8a88
commit
ddc157acbf
1 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ end
|
|||
local function check_commands(commands, player_name)
|
||||
for _, command in pairs(commands:split("\n")) do
|
||||
local pos = command:find(" ")
|
||||
local cmd, param = command, ""
|
||||
local cmd = command
|
||||
if pos then
|
||||
cmd = command:sub(1, pos - 1)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue