mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 10:20:19 +01:00
Fix game crash on pressure plate dig
This commit is contained in:
parent
f8be926915
commit
8870d491ae
@ -144,7 +144,7 @@ minetest.register_abm(
|
|||||||
minetest.register_on_dignode(
|
minetest.register_on_dignode(
|
||||||
function(pos, oldnode, digger)
|
function(pos, oldnode, digger)
|
||||||
if oldnode.name == "mesecons_pressureplates:pressure_plate_stone_on" then
|
if oldnode.name == "mesecons_pressureplates:pressure_plate_stone_on" then
|
||||||
mesecon:receptor_off(pos, mesecons:get_rules("pressureplate"))
|
mesecon:receptor_off(pos, mesecon:get_rules("pressureplate"))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user