diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-04-20 21:22:43 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-04-20 21:22:43 -0400 |
commit | 1a5b1b46912fa50c2b030700bb4b9503d07a0980 (patch) | |
tree | 26fa815e8e0d64be1ebc5a4c640c936ff95246f0 /mesecons_pressureplates | |
parent | 10bacdd7f48d87d395f3404be40e6ccf3738fa51 (diff) |
Fix pressure plate wield image.
Diffstat (limited to 'mesecons_pressureplates')
-rw-r--r-- | mesecons_pressureplates/init.lua | 4 |
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"}}) |