forked from Mineclonia/Mineclonia
Fix possible conflicts with inventory callbacks
This commit is contained in:
parent
e011b9024d
commit
9f01a4993b
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue