Skip to content

Commit

Permalink
Is ground content (#67)
Browse files Browse the repository at this point in the history
* protector isn't ground content

* xpgate isn't ground content
  • Loading branch information
SwissalpS authored Feb 27, 2024
1 parent 34c1916 commit 90f420d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions protector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions xpgate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 90f420d

Please sign in to comment.