mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-22 19:45:02 +00:00
params_text in def.parse worldeditadditions_core/register/check.lua
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
parent
7b651d7abe
commit
49617b7f47
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ function worldeditadditions_core.register_command(def)
|
|||
def.require_pos = def.require_pos or 0
|
||||
assert(def.require_pos >= 0 and def.require_pos < 3)
|
||||
if def.params == "" and not def.parse then
|
||||
def.parse = function(param) return true end
|
||||
def.parse = function(params_text) return true end
|
||||
else
|
||||
assert(def.parse)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue