diff --git a/build.gradle b/build.gradle index b9e44add..c5b6d636 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ ext { date = git.head().date.format("yy.MM.dd") revision = "-${git.head().abbreviatedId}" parents = git.head().parentIds; - index = -94; // Offset to match CI + index = -95; // Offset to match CI int major, minor, patch; major = minor = patch = 0; for (;parents != null && !parents.isEmpty();index++) { diff --git a/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java b/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java index cd4c0321..de8d79f2 100644 --- a/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java +++ b/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java @@ -453,6 +453,7 @@ public class FaweBukkit implements IFawe, Listener { public Version getVersion() { Version tmp = this.version; if (tmp == null) { + tmp = Version.NONE; for (Version v : Version.values()) { try { BukkitQueue_0.checkVersion(v.name());