9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-30 20:39:21 +00:00

Fallback type when mm not on server

This commit is contained in:
RePixelatedMC
2024-05-21 11:23:24 +02:00
parent b0663f9b6c
commit 6ba1d571f2

View File

@@ -462,9 +462,13 @@ public class IrisEntity extends IrisRegistrant {
return null;
}
} else {
Iris.warn("MythicMobs is not enabled, falling back to: " + type + "'!");
if (isSpecialType()) {
Iris.warn("MythicMobs is not enabled, falling back to: " + type + "'!");
}
}
return INMS.get().spawnEntity(at, getType(), getReason());
}