From 4b15f7971663fed3b9a53dc7357adf6ab0b110e6 Mon Sep 17 00:00:00 2001 From: Noogear <123232885+Noogear@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:51:47 +0800 Subject: [PATCH] Update MobSpawn.java --- src/main/java/dev/aurelium/auramobs/listeners/MobSpawn.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/dev/aurelium/auramobs/listeners/MobSpawn.java b/src/main/java/dev/aurelium/auramobs/listeners/MobSpawn.java index 59e31fc..0b0ed3e 100644 --- a/src/main/java/dev/aurelium/auramobs/listeners/MobSpawn.java +++ b/src/main/java/dev/aurelium/auramobs/listeners/MobSpawn.java @@ -108,8 +108,9 @@ public void run() { return; } - if (plugin.isMythicMobsEnabled() && entity.getPersistentDataContainer().has(MobKeys.TYPE, PersistentDataType.STRING) && plugin.ignoreMythicMobs()) + if (plugin.isMythicMobsEnabled() && entity.getPersistentDataContainer().has(MobKeys.TYPE, PersistentDataType.STRING) && plugin.ignoreMythicMobs()) { return; + } int sumlevel = 0; int maxlevel = Integer.MIN_VALUE;