mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-08-20 04:54:09 +02:00
Dont rewrite inventory in creative mode
happens on first press I if no unified inventory installed
This commit is contained in:
parent
f83e7e9984
commit
f17a104ab1
@ -281,7 +281,7 @@ armor.update_inventory = function(self, player)
|
||||
if page:find("detached:"..name.."_armor") then
|
||||
inventory_plus.set_inventory_formspec(player, formspec)
|
||||
end
|
||||
else
|
||||
elseif not core.setting_getbool("creative_mode") then
|
||||
player:set_inventory_formspec(formspec)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user