mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-16 12:52:27 +01:00
Fix possible conflicts with inventory callbacks
This commit is contained in:
@ -353,6 +353,9 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
return
|
||||
end
|
||||
if formname ~= "" then
|
||||
return
|
||||
end
|
||||
|
||||
local name = player:get_player_name()
|
||||
|
||||
|
Reference in New Issue
Block a user