From 0a5294c0c891a1bbee9179c780dcbe4ec9d2e1e0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 10 Jul 2020 16:46:47 +0200 Subject: [PATCH] Remove outdated creative mob check --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 2533abdb..a33b8853 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -3883,7 +3883,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