fixed spawn tracking after 1.14.3 pre 2
This commit is contained in:
1 parent
ad790977f6
commit
bbe191f9d9
2 files changed
+4
-2
No files matched your search
@@ -445,7 +445,7 @@ public class SpawnReporter
|
||||
|
||||
for (int i = 0; i < 20; ++i)
|
||||
{
|
||||
if (mob.canSpawn(worldIn, SpawnType.NATURAL))
|
||||
if (SpawnRestriction.method_20638(mob.getType(),mob.getEntityWorld(), SpawnType.NATURAL, mob.getBlockPos(), mob.getEntityWorld().random))
|
||||
{
|
||||
will_spawn += 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user