Fix wrong var being used during getMaxSpawnPackSize check. (#3240)

This commit is contained in:
bloodmc authored and LexManos committed 2016-09-09 11:27:10 -07:00
1 parent f9c7caaf0c
commit ca1f704e2f
1 file changed
+1 -1
@@ -37,7 +37,7 @@
}
- if (j2 >= entityliving.func_70641_bl())
+ if (i2 >= net.minecraftforge.event.ForgeEventFactory.getMaxSpawnPackSize(entityliving))
+ if (j2 >= net.minecraftforge.event.ForgeEventFactory.getMaxSpawnPackSize(entityliving))
{
continue label411;
}