Fix pressure plates not dropping

This commit is contained in:
cora 2023-12-15 03:55:33 +01:00 committed by ryvnf
parent a688781791
commit f33e933798

View File

@ -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)