diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-07-04 12:22:39 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-07-04 12:22:39 +0100 |
commit | 023d0303c1c01508039c1de0b79c5b86e21cefb1 (patch) | |
tree | 74f54ea2dba1181cf58a9c4e1876cd1acaca3ad6 /papyrus.lua | |
parent | 2bc7406c9a2112eba39e91c304dab74699093c4d (diff) |
Code tidy and fixed fruit not dropping
Diffstat (limited to 'papyrus.lua')
-rw-r--r-- | papyrus.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/papyrus.lua b/papyrus.lua index 5bee2e6..281e149 100644 --- a/papyrus.lua +++ b/papyrus.lua @@ -1,5 +1,5 @@ -- override default papyrus to make it walkable -minetest.override_item("default:papyrus", {walkable=true, sunlight_propagates=true}) +minetest.override_item("default:papyrus", {walkable = true, sunlight_propagates = true}) -- have papyrus grow up to 4 high and bamboo grow up to 5 in height (shared abm) minetest.register_abm({ @@ -34,8 +34,8 @@ minetest.register_abm({ nod = minetest.get_node_or_nil(pos) if nod and nod.name == "air" and height < high then - minetest.set_node(pos, {name=node.name}) + minetest.set_node(pos, {name = node.name}) end end, -}) +})
\ No newline at end of file |