diff options
author | Brandon <brandon@bremaweb.com> | 2013-06-24 22:33:26 -0500 |
---|---|---|
committer | Brandon <brandon@bremaweb.com> | 2013-06-24 22:33:26 -0500 |
commit | a6839055d0fa5f17e521d63caae871d7cf589004 (patch) | |
tree | 5c656fe3500343845325e5693141e0f9b479824a /init.lua | |
parent | 72b5c84eb6fe5e69a5a80afdff5b3ff158659a62 (diff) |
fix crash on claiming land
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |