Fix spider/chicken jockeys being unable to spawn naturally (MC-103516) (#4429)

This commit is contained in:
Ben Staddon authored and LexManos committed 2017-10-31 10:06:16 -07:00
1 parent 0960b60d9c
commit ac634a2049
1 file changed
+9
@@ -523,6 +523,15 @@
p_72866_1_.func_70071_h_();
}
}
@@ -1914,7 +2066,7 @@
{
Entity entity4 = list.get(j2);
- if (!entity4.field_70128_L && entity4.field_70156_m && entity4 != p_72917_2_ && (p_72917_2_ == null || entity4.func_184223_x(p_72917_2_)))
+ if (!entity4.field_70128_L && entity4.field_70156_m && entity4 != p_72917_2_ && (p_72917_2_ == null || !entity4.func_184223_x(p_72917_2_))) // Forge: fix MC-103516
{
return false;
}
@@ -2011,6 +2163,11 @@
blockpos$pooledmutableblockpos.func_185344_t();
return true;