1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-02 14:29:07 +01:00

Important changes for the latest MythicMobs

This commit is contained in:
montlikadani 2019-08-14 19:18:57 +02:00
parent a4b2b4e6b5
commit 611384922e
4 changed files with 3 additions and 3 deletions

Binary file not shown.

BIN
libs/MythicMobs-4.6.5.jar Normal file

Binary file not shown.

View File

@ -64,9 +64,9 @@
<dependency>
<groupId>io.lumine.xikage.mythicmobs</groupId>
<artifactId>MythicMobs</artifactId>
<version>4.5.9</version>
<version>4.6.5</version>
<scope>system</scope>
<systemPath>${basedir}/libs/MythicMobs-4.5.9.jar</systemPath>
<systemPath>${basedir}/libs/MythicMobs-4.6.5.jar</systemPath>
</dependency>
<!-- WorldGuard old version -->
<dependency>

View File

@ -66,7 +66,7 @@ public class MythicMobs4 implements MythicMobInterface {
MythicMob mm = MMAPI.getMythicMob(id);
try {
if (mm != null)
return mm.getDisplayName();
return mm.getDisplayName().toString();
} catch (Exception | Error e) {
if (!failed) {
failed = true;