Fix outdated item namespace for mcl_pressureplates

This commit is contained in:
Elias Åström 2024-09-23 20:55:02 +02:00 committed by cora
parent 6c92873314
commit f9cf605d2d
2 changed files with 3 additions and 3 deletions

View File

@ -204,7 +204,7 @@ function mcl_redstone.register_pressure_plate(basename, description, textures_of
end
mcl_redstone.register_pressure_plate(
"mcl_redstone:pressure_plate_stone",
"mcl_pressureplates:pressure_plate_stone",
S("Stone Pressure Plate2"),
{"default_stone.png"},
{"default_stone.png"},
@ -217,7 +217,7 @@ mcl_redstone.register_pressure_plate(
S("A stone pressure plate is a redstone component which supplies its surrounding blocks with redstone power while a player or mob stands on top of it. It is not triggered by anything else."))
mcl_redstone.register_pressure_plate(
"mcl_redstone:pressure_plate_polished_blackstone",
"mcl_pressureplates:pressure_plate_polished_blackstone",
S("Polished Blackstone Pressure Plate2"),
{"mcl_blackstone_polished.png"},
{"mcl_blackstone_polished.png"},

View File

@ -613,7 +613,7 @@ function mcl_trees.register_wood(name, p)
if p.pressure_plate == nil or type(p.pressure_plate) == "table" then
mcl_redstone.register_pressure_plate(
"mcl_redstone:pressure_plate_"..name,
"mcl_pressureplates:pressure_plate_"..name,
S("@1 Pressure Plate", rname),
p.wood and p.wood.tiles or { minetest.get_current_modname().."_planks_"..name..".png"},
p.wood and p.wood.tiles or { minetest.get_current_modname().."_planks_"..name..".png"},