From 6ba1d571f21b01eea9eda0df6b3fae35b76718c8 Mon Sep 17 00:00:00 2001 From: RePixelatedMC <107539181+RePixelatedMC@users.noreply.github.com> Date: Tue, 21 May 2024 11:23:24 +0200 Subject: [PATCH] Fallback type when mm not on server --- .../main/java/com/volmit/iris/engine/object/IrisEntity.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/volmit/iris/engine/object/IrisEntity.java b/core/src/main/java/com/volmit/iris/engine/object/IrisEntity.java index 055a9ee8c..66f6ec3ac 100644 --- a/core/src/main/java/com/volmit/iris/engine/object/IrisEntity.java +++ b/core/src/main/java/com/volmit/iris/engine/object/IrisEntity.java @@ -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()); }