This commit is contained in:
gnembon committed 2019-10-02 16:17:07 -03:00
1 parent 412b33fee2
commit 6f156f9fc2
7 files changed
+12 -12

No files matched your search

@@ -439,7 +439,7 @@ public class SpawnReporter
for (int i = 0; i < 20; ++i)
{
if (SpawnRestriction.method_20638(mob.getType(),mob.getEntityWorld(), SpawnType.NATURAL, mob.getBlockPos(), mob.getEntityWorld().random))
if (SpawnRestriction.canSpawn(mob.getType(),mob.getEntityWorld(), SpawnType.NATURAL, mob.getBlockPos(), mob.getEntityWorld().random))
{
will_spawn += 1;
}