last one... mover: typo and-or

This commit is contained in:
waxtatect 2022-11-17 18:44:09 +01:00
parent 139a7f4e7e
commit ed295c5bac

View File

@ -1003,7 +1003,7 @@ minetest.register_node("basic_machines:mover", {
if prefer ~= "" then -- preferred node set
local plant, normal = mover.plants_table[prefer], mode == "normal"; local def
if drop or mreverse == 1 and plant and
if drop or mreverse == 1 and plant or
normal and target_chest
then
node1.name, node1_name = prefer, prefer