Skip to content

Commit

Permalink
Fix pressure plate wield image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Uberi committed Apr 21, 2013
1 parent 10bacdd commit 1a5b1b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mesecons_pressureplates/init.lua
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand All @@ -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"}})

0 comments on commit 1a5b1b4

Please sign in to comment.