From dd384a91afb3f2a391cc68c42b86fe680d6c58fb Mon Sep 17 00:00:00 2001 From: Girafi Date: Thu, 23 Jun 2016 05:19:36 +0200 Subject: [PATCH] Made forge-type spawn eggs spawn childs, when right clicking EntityAgeable again. (#2982) --- .../net/minecraft/entity/EntityAgeable.java.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/minecraft/net/minecraft/entity/EntityAgeable.java.patch diff --git a/patches/minecraft/net/minecraft/entity/EntityAgeable.java.patch b/patches/minecraft/net/minecraft/entity/EntityAgeable.java.patch new file mode 100644 index 000000000..65aca1002 --- /dev/null +++ b/patches/minecraft/net/minecraft/entity/EntityAgeable.java.patch @@ -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 oclass = EntityList.func_90035_a(EntityList.func_180122_a(ItemMonsterPlacer.func_185080_h(p_184645_3_))); ++ Class oclass = EntityList.field_75625_b.get(ItemMonsterPlacer.func_185080_h(p_184645_3_)); + + if (oclass != null && this.getClass() == oclass) + {