mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-28 05:50:17 +02:00
Remove tiny (+0.001) selection box oversize
This commit is contained in:
@ -27,10 +27,11 @@ minetest.register_node("mesecons_insulated:insulated_on", {
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -16/32-0.001, -16/32, -7/32, 16/32+0.001, -12/32, 7/32 }
|
||||
fixed = { -16/32, -16/32, -7/32, 16/32, -12/32, 7/32 }
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
-- ±0.001 is to prevent z-fighting
|
||||
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
|
||||
},
|
||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
||||
@ -63,10 +64,11 @@ minetest.register_node("mesecons_insulated:insulated_off", {
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -16/32-0.001, -16/32, -7/32, 16/32+0.001, -12/32, 7/32 }
|
||||
fixed = { -16/32, -16/32, -7/32, 16/32, -12/32, 7/32 }
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
-- ±0.001 is to prevent z-fighting
|
||||
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
|
||||
},
|
||||
groups = {dig_immediate = 3},
|
||||
|
Reference in New Issue
Block a user