diff --git a/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java b/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java index 38b63835..f9e92d12 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java @@ -279,9 +279,11 @@ public class SombraEntity extends HostileEntity implements ArenaCombatant, Parti if (getWorld().isClient) { generateBodyParticles(); } else { - for (BlockPos p : BlockPos.iterateOutwards(getBlockPos(), 2, 1, 2)) { - if (getWorld().getBlockState(p).getLuminance() > 13) { - destroyLightSource(p); + if (getWorld().getGameRules().get(GameRules.DO_MOB_GRIEFING).get()) { + for (BlockPos p : BlockPos.iterateOutwards(getBlockPos(), 2, 1, 2)) { + if (getWorld().getBlockState(p).getLuminance() > 13) { + destroyLightSource(p); + } } }