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:
parent
a4b2b4e6b5
commit
611384922e
Binary file not shown.
BIN
libs/MythicMobs-4.6.5.jar
Normal file
BIN
libs/MythicMobs-4.6.5.jar
Normal file
Binary file not shown.
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user