Refactor how the misc creative category works

This commit is contained in:
Wuzzy 2018-05-08 15:58:26 +02:00
parent b95dbaf3d7
commit 5ca5811bc8
2 changed files with 14 additions and 2 deletions

View file

@ -3337,7 +3337,7 @@ function mobs:register_egg(mob, desc, background, addegg, no_creative)
local grp = {spawn_egg = 1}
-- do NOT add this egg to creative inventory (e.g. dungeon master)
if creative and no_creative == true then
if no_creative == true then
grp.not_in_creative_inventory = 1
end