diff options
author | tenplus1 <kinsellaja@yahoo.com> | 2015-06-24 10:00:12 +0100 |
---|---|---|
committer | tenplus1 <kinsellaja@yahoo.com> | 2015-06-24 10:00:12 +0100 |
commit | 2bc7406c9a2112eba39e91c304dab74699093c4d (patch) | |
tree | 10620b71f6bdb65c46832da0743faf7be3500989 /crystal.lua | |
parent | d22a051434d1b92d8fbb4fa8027ef29a567312eb (diff) |
Adjusted ground content flags
Diffstat (limited to 'crystal.lua')
-rw-r--r-- | crystal.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crystal.lua b/crystal.lua index d7ad9b8..bf3bc9f 100644 --- a/crystal.lua +++ b/crystal.lua @@ -37,6 +37,7 @@ minetest.register_node("ethereal:crystal_block", { description = "Crystal Block", tiles = {"crystal_block.png"}, light_source = default.LIGHT_MAX - 5, + is_ground_content = false, groups = {cracky=1,level=2,puts_out_fire=1}, sounds = default.node_sound_glass_defaults(), }) @@ -134,7 +135,7 @@ minetest.register_tool("ethereal:shovel_crystal", { on_use = function(itemstack, user, pointed_thing) - if pointed_thing.type == "node" then + if pointed_thing.type ~= "node" then return end -- Check if node protected if not minetest.is_protected(pointed_thing.under, user:get_player_name()) then @@ -158,7 +159,6 @@ minetest.register_tool("ethereal:shovel_crystal", { end end - end end, }) |