Don't return player name on craft in idlekick

Apparently this causes games that use engine crafting to replace
the recipe output with an unknown item with the player's name.

Fixes https://gitlab.com/sztest/szutilpack/-/issues/4
This commit is contained in:
Aaron Suen 2022-07-05 06:44:31 -04:00
parent 64f28532f1
commit 079c21a58b

View File

@ -35,7 +35,7 @@ minetest.register_on_dignode(function(_, _, player) return bump(player) end)
minetest.register_on_punchnode(function(_, _, player) return bump(player) end)
minetest.register_on_chat_message(function(pname) bumpn(pname) end)
minetest.register_on_player_receive_fields(function(player) return bump(player) end)
minetest.register_on_craft(function(_, player) return bump(player) end)
minetest.register_on_craft(function(_, player) bump(player) end)
minetest.register_on_player_inventory_action(function(player) return bump(player) end)
local looks = {}