Fixes #642
This commit is contained in:
parent
262b07fd34
commit
843fd98d4e
@ -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++) {
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user