Fixed ItemMonsterPlacer.getEggInfo missing return. Closes #1975

This commit is contained in:
LexManos 2015-06-26 17:54:38 -07:00
parent 7a733d635e
commit cab151ec44
1 changed files with 1 additions and 1 deletions

View File

@ -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());
+ }
}