diff options
author | the lemons <citrons@mondecitronne.com> | 2022-02-12 20:36:15 -0600 |
---|---|---|
committer | the lemons <citrons@mondecitronne.com> | 2022-02-12 20:36:15 -0600 |
commit | 18e2775475458fa7791aa818beb35b6d8c9df0fb (patch) | |
tree | 56b498885e6d3f19df25fc4fb194047c4a218504 | |
parent | 33881de2abe4fafaee665d4ae218457a1b111d01 (diff) |
fix usage of global
-rw-r--r-- | mods/vzxv/commands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mods/vzxv/commands.lua b/mods/vzxv/commands.lua index e39827a..a644c8f 100644 --- a/mods/vzxv/commands.lua +++ b/mods/vzxv/commands.lua @@ -15,7 +15,7 @@ minetest.register_chatcommand("node", { func = function(name, node) if not node then return end local p = minetest.get_player_by_name(name) - pos = p:get_pos() + local pos = p:get_pos() local ok, err = pcall(minetest.add_node, pos, {name = node}) if not ok then return false, err end return true, "placed node at your location" |