This commit is contained in:
70000hp 2024-01-14 12:11:21 -05:00
parent c88ee74f7f
commit 3854161ac9

View File

@ -355,7 +355,8 @@ public class PollutionHandler {
&& !event.world.isRemote
&& event.world.provider.dimensionId == 0
&& event.type == EnumCreatureType.monster
&& event.world.canBlockSeeTheSky(event.x, event.y, event.z)) {
&& event.world.canBlockSeeTheSky(event.x, event.y, event.z)
&& !event.isCanceled()) {
if (event.world.rand.nextInt(MobConfig.rampantScoutSpawnChance) == 0) {