mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-21 16:09:24 +00:00
Updated how mythic mob fetcher works
This commit is contained in:
@@ -27,7 +27,8 @@ public class BossEntityUtils {
|
||||
*/
|
||||
public static BossType getBossType(@NotNull String id) {
|
||||
|
||||
if (mythicMobs && id.startsWith("mythicmobs_")) {
|
||||
if (id.startsWith("mythicmobs_")) {
|
||||
if (mythicMobs) {
|
||||
int level;
|
||||
|
||||
try {
|
||||
@@ -41,8 +42,9 @@ public class BossEntityUtils {
|
||||
if (mob != null) {
|
||||
return new MythicMobsBossType(mob, level);
|
||||
}
|
||||
|
||||
else id = "zombie";
|
||||
} else id = "zombie";
|
||||
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
@@ -5,6 +5,9 @@ api-version: 1.16
|
||||
authors: [Auxilor]
|
||||
website: willfp.com
|
||||
load: STARTUP
|
||||
softdepend:
|
||||
- MythicMobs
|
||||
- LevelledMobs
|
||||
depend:
|
||||
- eco
|
||||
|
||||
|
||||
Reference in New Issue
Block a user