summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorBrandon <brandon@bremaweb.com>2013-06-24 22:33:26 -0500
committerBrandon <brandon@bremaweb.com>2013-06-24 22:33:26 -0500
commita6839055d0fa5f17e521d63caae871d7cf589004 (patch)
tree5c656fe3500343845325e5693141e0f9b479824a /init.lua
parent72b5c84eb6fe5e69a5a80afdff5b3ff158659a62 (diff)
fix crash on claiming land
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 7d85041..cfc8225 100644
--- a/init.lua
+++ b/init.lua
@@ -277,7 +277,7 @@ landrush.load_claims()
else
minetest.env:remove_node(pointed_thing.above)
chunk = landrush.get_chunk(pointed_thing.above)
- claims[chunk] = {owner=placer:get_player_name(),shared={},claimtype=claimnode}
+ claims[chunk] = {owner=placer:get_player_name(),shared={},claimtype="landclaim"}
landrush.save_claims()
minetest.chat_send_player(claims[chunk].owner, "You now own this area.")
itemstack:take_item()