From 9f8d525fbc05dad56254149040f0a8387207b594 Mon Sep 17 00:00:00 2001 From: Zrips Date: Mon, 28 Oct 2019 11:36:02 +0200 Subject: [PATCH] If MythicMobs are not present, lets return raw name --- .../java/com/gamingmesh/jobs/config/NameTranslatorManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java b/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java index a2a94355..673f7b54 100644 --- a/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java @@ -95,6 +95,8 @@ public class NameTranslatorManager { } break; case MMKILL: + if (Jobs.getMythicManager() == null) + return materialName; return Jobs.getMythicManager().getDisplayName(materialName); default: break;