Skip to content

Commit

Permalink
Update MobSpawn.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Noogear authored Nov 13, 2024
1 parent e64252b commit 4b15f79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/dev/aurelium/auramobs/listeners/MobSpawn.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4b15f79

Please sign in to comment.