summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons_pressureplates/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua
index 16914d0..3ec7c91 100644
--- a/mesecons_pressureplates/init.lua
+++ b/mesecons_pressureplates/init.lua
@@ -49,7 +49,7 @@ end
-- image: inventory and wield image of the pressure plate
-- recipe: crafting recipe of the pressure plate
-function mesecon:register_pressure_plate(offstate, onstate, description, texture_off, texture_on, recipe)
+function mesecon:register_pressure_plate(offstate, onstate, description, texture_off, texture_on, image, recipe)
local ppspec = {
offstate = offstate,
onstate = onstate
@@ -112,6 +112,7 @@ mesecon:register_pressure_plate(
"Wooden Pressure Plate",
"jeija_pressure_plate_wood_off.png",
"jeija_pressure_plate_wood_on.png",
+ "jeija_pressure_plate_wood_off.png",
{{"default:wood", "default:wood"}})
mesecon:register_pressure_plate(
@@ -120,4 +121,5 @@ mesecon:register_pressure_plate(
"Stone Pressure Plate",
"jeija_pressure_plate_stone_off.png",
"jeija_pressure_plate_stone_on.png",
+ "jeija_pressure_plate_stone_off.png",
{{"default:cobble", "default:cobble"}})