summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.lua1
-rw-r--r--init.lua4
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", "\"\"")
diff --git a/init.lua b/init.lua
index cdebf77..f4928ad 100644
--- a/init.lua
+++ b/init.lua
@@ -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)