Hendrik Langer 3 years ago
parent
commit
27aeaebf07
  1. 2
      chatcommands.lua

2
chatcommands.lua

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

Loading…
Cancel
Save