retiring blockpos

This commit is contained in:
gnembon committed 2020-03-04 14:48:29 -04:00
1 parent 7a611c53fc
commit fd0976de56
3 files changed
+3 -3

No files matched your search

@@ -444,7 +444,7 @@ public class SpawnReporter
will_spawn += 1;
}
}
mob.initialize(worldIn, worldIn.getLocalDifficulty(new BlockPos(mob)), SpawnType.NATURAL, null, null);
mob.initialize(worldIn, worldIn.getLocalDifficulty(mob.getBlockPos()), SpawnType.NATURAL, null, null);
// the code invokes onInitialSpawn after getCanSpawHere
fits = fits1 && worldIn.doesNotCollide(mob);
if (fits)