Fix pressure plates not dropping
This commit is contained in:
parent
a688781791
commit
f33e933798
@ -163,6 +163,7 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
description = description,
|
||||
drop = basename .. "_off",
|
||||
on_timer = pp_on_timer,
|
||||
on_construct = function(pos)
|
||||
minetest.get_node_timer(pos):start(PRESSURE_PLATE_INTERVAL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user