Tweaked code to work better for violation drops
This commit is contained in:
parent
0679ada27d
commit
f1b5448049
3 changed files with 21 additions and 20 deletions
|
|
@ -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"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue