From 90f420d3dc5cfe81fb9e2cf38d430c977efc9896 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Wed, 28 Feb 2024 00:30:52 +0100 Subject: [PATCH] Is ground content (#67) * protector isn't ground content * xpgate isn't ground content --- protector.lua | 1 + xpgate.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/protector.lua b/protector.lua index 401a712..8d0fab2 100644 --- a/protector.lua +++ b/protector.lua @@ -33,6 +33,7 @@ minetest.register_node("xp_redo:protector", { }, groups = {cracky=3,oddly_breakable_by_hand=3}, + is_ground_content = false, sounds = default.node_sound_glass_defaults(), after_place_node = function(pos, placer) diff --git a/xpgate.lua b/xpgate.lua index 65e1aea..2da549d 100644 --- a/xpgate.lua +++ b/xpgate.lua @@ -21,6 +21,7 @@ minetest.register_node("xp_redo:xpgate", { description = "XP Gateway", tiles = {"xp_gate.png"}, groups = {cracky=3,oddly_breakable_by_hand=3,epic=1}, + is_ground_content = false, drop = "xp_redo:xpgate", sounds = default.node_sound_glass_defaults(), on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,