Fixed ItemMonsterPlacer.getEggInfo missing return. Closes #1975
This commit is contained in:
parent
7a733d635e
commit
cab151ec44
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@
|
|||
+ private static EntityList.EntityEggInfo getEggInfo(ItemStack stack)
|
||||
+ {
|
||||
+ if (stack.func_77942_o() && stack.func_77978_p().func_150297_b("entity_name", 8))
|
||||
+ net.minecraftforge.fml.common.registry.EntityRegistry.getEggs().get(stack.func_77978_p().func_74779_i("entity_name"));
|
||||
+ return net.minecraftforge.fml.common.registry.EntityRegistry.getEggs().get(stack.func_77978_p().func_74779_i("entity_name"));
|
||||
+ return (EntityList.EntityEggInfo)EntityList.field_75627_a.get(stack.func_77960_j());
|
||||
+ }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue