1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 05:55:27 +01:00

If MythicMobs are not present, lets return raw name

This commit is contained in:
Zrips 2019-10-28 11:36:02 +02:00
parent db00657c89
commit 9f8d525fbc

View File

@ -95,6 +95,8 @@ public class NameTranslatorManager {
}
break;
case MMKILL:
if (Jobs.getMythicManager() == null)
return materialName;
return Jobs.getMythicManager().getDisplayName(materialName);
default:
break;