mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Fix possible conflicts with inventory callbacks
This commit is contained in:
parent
e011b9024d
commit
9f01a4993b
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue