mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 02:03:59 +00:00
Merge pull request #777 from Vatuu/Development
Fixed MythicMobs api change
This commit is contained in:
commit
ce56224038
@ -65,7 +65,7 @@ public class MythicMobsLink {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Class<?> mythicMobClass = Class.forName("io.lumine.xikage.mythicmobs.MythicMobs");
|
Class<?> mythicMobClass = Class.forName("io.lumine.mythic.bukkit.MythicBukkit");
|
||||||
Method getInst = mythicMobClass.getDeclaredMethod("inst");
|
Method getInst = mythicMobClass.getDeclaredMethod("inst");
|
||||||
Object inst = getInst.invoke(null);
|
Object inst = getInst.invoke(null);
|
||||||
Method getAPIHelper = mythicMobClass.getDeclaredMethod("getAPIHelper");
|
Method getAPIHelper = mythicMobClass.getDeclaredMethod("getAPIHelper");
|
||||||
|
@ -405,7 +405,7 @@ public class IrisDimension extends IrisRegistrant {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!dimensionHeight.equals(new IrisRange(-64, 320))) {
|
/* if(!dimensionHeight.equals(new IrisRange(-64, 320))) {
|
||||||
File dimType = new File(datapacks, "iris/data/minecraft/dimension_type/" + getLoadKey().toLowerCase() + ".json");
|
File dimType = new File(datapacks, "iris/data/minecraft/dimension_type/" + getLoadKey().toLowerCase() + ".json");
|
||||||
if(!dimType.exists())
|
if(!dimType.exists())
|
||||||
changed = true;
|
changed = true;
|
||||||
@ -417,8 +417,7 @@ public class IrisDimension extends IrisRegistrant {
|
|||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
Iris.reportError(e);
|
Iris.reportError(e);
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}*/
|
||||||
}
|
|
||||||
|
|
||||||
if(write) {
|
if(write) {
|
||||||
File mcm = new File(datapacks, "iris/pack.mcmeta");
|
File mcm = new File(datapacks, "iris/pack.mcmeta");
|
||||||
@ -427,7 +426,7 @@ public class IrisDimension extends IrisRegistrant {
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"description": "Iris Data Pack. This pack contains all installed Iris Packs' resources.",
|
"description": "Iris Data Pack. This pack contains all installed Iris Packs' resources.",
|
||||||
"pack_format": 7
|
"pack_format": 9
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
""");
|
""");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user