summaryrefslogtreecommitdiff
path: root/fences.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-01-09 12:25:33 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-01-09 12:25:33 +0000
commitad7b63b86971ccae7b1abc008196c9e9553b54ec (patch)
tree05fe8e2a0ea0e9b8d4939cffaed46e6abb0cf9f4 /fences.lua
parent94873618b17859a6f3cc9c3a02dcc88b511075cf (diff)
Optimize and tidy code.
Diffstat (limited to 'fences.lua')
-rw-r--r--fences.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/fences.lua b/fences.lua
index c639a85..17bf442 100644
--- a/fences.lua
+++ b/fences.lua
@@ -13,7 +13,7 @@ local fences = {
{"birch", "Birch Wood", "moretrees_birch_wood.png", "ethereal:birch_wood"},
}
-for _, row in ipairs(fences) do
+for _, row in pairs(fences) do
minetest.register_node("ethereal:fence_"..row[1], {
description = row[2].." Fence",