diff options
author | Brandon Bohannon <brandon@bremaweb.com> | 2013-02-16 01:05:22 -0600 |
---|---|---|
committer | Brandon Bohannon <brandon@bremaweb.com> | 2013-02-16 01:05:22 -0600 |
commit | 35c1ac59d65248834b69c6b34bad857b492b1ac8 (patch) | |
tree | e6b583f043ddde8eb808555e1f9f5f0a2106fbd8 | |
parent | 423612b96568fa56d9da0d6839e890e8a84b1b27 (diff) |
various small fixes
-rw-r--r-- | default.lua | 1 | ||||
-rw-r--r-- | init.lua | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/default.lua b/default.lua index f86032e..555f7e3 100644 --- a/default.lua +++ b/default.lua @@ -44,6 +44,7 @@ if minetest.get_modpath("default") then sounds = default.node_sound_defaults(), on_construct = function(pos) --local n = minetest.env:get_node(pos) + local meta = minetest.env:get_meta(pos) meta:set_string("formspec", "hack:sign_text_input") meta:set_string("infotext", "\"\"") @@ -325,7 +325,7 @@ function landrush.regester_claimnode(node, image) end landrush.regester_claimnode("landclaim", "landrush_landclaim.png") -landrush.regester_claimnode("landclaim_a", "landrush_landclaim_gem.png") +landrush.regester_claimnode("landclaim_b", "landrush_landclaim.png") minetest.register_entity("landrush:showarea",{ on_activate = function(self, staticdata, dtime_s) @@ -374,10 +374,12 @@ minetest.register_chatcommand("showarea", { }) minetest.after(0,function() + local path = minetest.get_modpath("landrush") dofile(path.."/bucket.lua") dofile(path.."/default.lua") dofile(path.."/doors.lua") dofile(path.."/fire.lua") + minetest.log('action','Loading Land Rush Land Claim') end) |