mover.lua edited online with Bitbucket

master
Juraj Vajda 2018-12-04 02:43:39 +00:00
parent 4b87c9e114
commit 2ba5fef97b
1 changed files with 1 additions and 1 deletions

View File

@ -1198,7 +1198,7 @@ minetest.register_node("basic_machines:mover", {
if udef and
udef.on_place and
placer ~= nil and
(name_parts[1] == "farming" or name_parts == "farming_addons" ) then
(name_parts[1] == "farming" or name_parts[1] == "farming_addons" ) then
udef.on_place(stack, placer, pointed_thing)
-- on_place not found in udef - use set_node instead or placer not online
else