summaryrefslogtreecommitdiff
path: root/admin.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-01-09 09:55:33 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-01-09 09:55:33 +0000
commitf1b5448049bfdaa5a4c8b4e71ed3a2f94336d377 (patch)
tree6f375e1d073e2ccffc407953f15f727687b760a7 /admin.lua
parent0679ada27de97321824802f3b8a54b6beedea681 (diff)
Tweaked code to work better for violation drops
Diffstat (limited to 'admin.lua')
-rw-r--r--admin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin.lua b/admin.lua
index 063d5ed..e48c0e4 100644
--- a/admin.lua
+++ b/admin.lua
@@ -47,7 +47,7 @@ minetest.register_abm({
local names = protector.removal_names:split(" ")
- for _, n in ipairs(names) do
+ for _, n in pairs(names) do
if n == owner then
minetest.set_node(pos, {name = "air"})