mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Made forge-type spawn eggs spawn childs, when right clicking EntityAgeable again. (#2982)
This commit is contained in:
1 parent
ee2772b26a
commit
dd384a91af
1 file changed
+11
@@ -0,0 +1,11 @@
|
||||
--- ../src-base/minecraft/net/minecraft/entity/EntityAgeable.java
|
||||
+++ ../src-work/minecraft/net/minecraft/entity/EntityAgeable.java
|
||||
@@ -35,7 +35,7 @@
|
||||
{
|
||||
if (!this.field_70170_p.field_72995_K)
|
||||
{
|
||||
- Class <? extends Entity > oclass = EntityList.func_90035_a(EntityList.func_180122_a(ItemMonsterPlacer.func_185080_h(p_184645_3_)));
|
||||
+ Class <? extends Entity > oclass = EntityList.field_75625_b.get(ItemMonsterPlacer.func_185080_h(p_184645_3_));
|
||||
|
||||
if (oclass != null && this.getClass() == oclass)
|
||||
{
|
||||
Reference in new issue
Block a user