|
|
@ -126,7 +126,7 @@ minetest.register_chatcommand("creative_region_clearinv", { |
|
|
|
privs = {server = true}, |
|
|
|
func = function(name, param) |
|
|
|
local player = minetest.get_player_by_name(name) |
|
|
|
local playerName, inventoryName = param:match("^(%S+)%s(.+)$") |
|
|
|
local playerName, inventoryListName = param:match("^(%S+)%s(.+)$") |
|
|
|
if not playerName or not inventoryListName then |
|
|
|
return false, "Syntax error" |
|
|
|
end |
|
|
|