Skip to content

Commit

Permalink
Merge pull request #778 from VolmitSoftware/Development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
NextdoorPsycho authored Apr 3, 2022
2 parents 2ebc9e0 + dabfe41 commit 03554eb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ plugins {
id "de.undercouch.download" version "5.0.1"
}

group 'com.volmit.iris'
version '2.0.3-1.18.2' // Needs to be specific
version '2.0.4-1.18.2' // Needs to be version specific
def nmsVersion = "1.18.2"
def apiVersion = '1.18'
def spigotJarVersion = '1.18.2-R0.1-SNAPSHOT'
Expand Down Expand Up @@ -137,15 +136,15 @@ dependencies {

// Dynamically Loaded
implementation 'io.timeandspace:smoothie-map:2.0.2'
implementation 'it.unimi.dsi:fastutil:8.5.6'
implementation 'it.unimi.dsi:fastutil:8.5.8'
implementation 'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2'
implementation 'org.zeroturnaround:zt-zip:1.14'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'org.ow2.asm:asm:9.2'
implementation 'com.google.guava:guava:31.0.1-jre'
implementation 'com.google.guava:guava:31.1-jre'
implementation 'bsf:bsf:2.4.0'
implementation 'rhino:js:1.7R2'
implementation 'com.github.ben-manes.caffeine:caffeine:3.0.5'
implementation 'com.github.ben-manes.caffeine:caffeine:3.0.6'
implementation 'org.apache.commons:commons-lang3:3.12.0'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Entity spawnMob(String mob, Location location) {
}

try {
Class<?> mythicMobClass = Class.forName("io.lumine.xikage.mythicmobs.MythicMobs");
Class<?> mythicMobClass = Class.forName("io.lumine.mythic.bukkit.MythicBukkit");
Method getInst = mythicMobClass.getDeclaredMethod("inst");
Object inst = getInst.invoke(null);
Method getAPIHelper = mythicMobClass.getDeclaredMethod("getAPIHelper");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public boolean installDataPack(DataProvider data, File datapacks) {
}
}

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");
if(!dimType.exists())
changed = true;
Expand All @@ -417,8 +417,7 @@ public boolean installDataPack(DataProvider data, File datapacks) {
} catch(IOException e) {
Iris.reportError(e);
e.printStackTrace();
}
}
}*/

if(write) {
File mcm = new File(datapacks, "iris/pack.mcmeta");
Expand All @@ -427,7 +426,7 @@ public boolean installDataPack(DataProvider data, File datapacks) {
{
"pack": {
"description": "Iris Data Pack. This pack contains all installed Iris Packs' resources.",
"pack_format": 7
"pack_format": 9
}
}
""");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class IrisObjectLimit {
@MinNumber(0)
@MaxNumber(1024)
@Desc("The maximum height for placement (top of object)")
private int maximumHeight = 512;
private int maximumHeight = 255;

public boolean canPlace(int h, int l) {
return h <= maximumHeight && l >= minimumHeight;
Expand Down

0 comments on commit 03554eb

Please sign in to comment.