From 843fd98d4e6b6490b596ac7dad018a8613aa1167 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 12 Jul 2017 13:50:13 +1000 Subject: [PATCH] Fixes #642 --- build.gradle | 2 +- bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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());