mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-08-29 21:08:11 +02:00
Merge pull request 'Allow portals to break only in creative and to be pointed.' (#1303) from iliekprogrammar/MineClone2:portal_break into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1303
This commit is contained in:
commit
d5c82cb2cf
@ -138,8 +138,6 @@ minetest.register_node("mcl_portals:portal", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or true,
|
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
diggable = false,
|
|
||||||
pointable = false,
|
|
||||||
buildable_to = false,
|
buildable_to = false,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
drop = "",
|
drop = "",
|
||||||
@ -152,7 +150,8 @@ minetest.register_node("mcl_portals:portal", {
|
|||||||
{-0.5, -0.5, -0.1, 0.5, 0.5, 0.1},
|
{-0.5, -0.5, -0.1, 0.5, 0.5, 0.1},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {portal=1, not_in_creative_inventory = 1},
|
groups = { creative_breakable = 1, portal = 1, not_in_creative_inventory = 1 },
|
||||||
|
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||||
on_destruct = destroy_nether_portal,
|
on_destruct = destroy_nether_portal,
|
||||||
|
|
||||||
_mcl_hardness = -1,
|
_mcl_hardness = -1,
|
||||||
@ -863,4 +862,3 @@ minetest.override_item("mcl_core:obsidian", {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user