Merge pull request 'Fix pressure plates getting pressed by new chest size' (#3019) from pressureplates_chest_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3019
This commit is contained in:
commit
6e6f163b71
|
@ -37,7 +37,7 @@ local function pp_on_timer(pos, elapsed)
|
|||
end
|
||||
end
|
||||
|
||||
local objs = minetest.get_objects_inside_radius(pos, 1)
|
||||
local objs = minetest.get_objects_inside_radius(pos, .99)
|
||||
|
||||
if node.name == basename .. "_on" then
|
||||
local disable
|
||||
|
@ -164,6 +164,10 @@ local woods = {
|
|||
{ "darkwood", "mcl_core:darkwood", "mcl_core_planks_big_oak.png", S("Dark Oak Pressure Plate" )},
|
||||
{ "sprucewood", "mcl_core:sprucewood", "mcl_core_planks_spruce.png", S("Spruce Pressure Plate") },
|
||||
{ "junglewood", "mcl_core:junglewood", "default_junglewood.png", S("Jungle Pressure Plate") },
|
||||
|
||||
{ "mangrove_wood", "mcl_mangrove:mangrove_wood", "mcl_mangrove_planks.png", S("Mangrove Pressure Plate") },
|
||||
{ "crimson_hyphae_wood", "mcl_crimson:crimson_hyphae_wood", "crimson_hyphae_wood.png", S("Crimson Pressure Plate") },
|
||||
{ "warped_hyphae_wood", "mcl_crimson:warped_hyphae_wood", "warped_hyphae_wood.png", S("Warped Pressure Plate") },
|
||||
}
|
||||
|
||||
for w=1, #woods do
|
||||
|
|
Loading…
Reference in New Issue
Block a user