1
0
Fork 0

Fix possible conflicts with inventory callbacks

objects
Wuzzy 2017-03-09 18:51:01 +01:00
parent e011b9024d
commit 9f01a4993b
1 changed files with 3 additions and 0 deletions

View File

@ -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()