Crashfix on /meta set <variable name> without new value

This commit is contained in:
paly2 2016-08-26 18:41:04 +02:00 committed by LeMagnesium
parent 0585ad63d4
commit 2ed6e41fcf
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ minetest.register_chatcommand("meta", {
if not paramlist[3] then
minetest.chat_send_player(name,"- meta::set - You must provide a value for the variable you want to set")
minetest.log("action","[metatools] Player "..name.." failed setting variable ".. paramlist[3] .." : no value given")
minetest.log("action","[metatools] Player "..name.." failed setting variable ".. paramlist[2] .." : no value given")
return false
end