This commit is contained in:
Mohamed Ashraf
2026-03-03 01:35:55 +04:00
parent 69dc7a2279
commit 36daeebed0
9 changed files with 23 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
#include "net.minecraft.world.effect.h"
#include "net.minecraft.world.item.enchantment.h"
#include "Monster.h"
#include "../Minecraft.Client/Windows64/Windows64_App.h"
#include "../Minecraft.Client/Minecraft.h"
@@ -156,4 +156,4 @@ bool Monster::canSpawn()
// 4J Stu
// Fix for #8265 - AI: Monsters will flash briefly on the screen around Monster Spawners when the game settings are set to Peaceful.
return isDarkEnoughToSpawn() && PathfinderMob::canSpawn() && level->difficulty > Difficulty::PEACEFUL;
}
}