mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
Fixes #642
This commit is contained in:
parent
262b07fd34
commit
843fd98d4e
@ -28,7 +28,7 @@ ext {
|
|||||||
date = git.head().date.format("yy.MM.dd")
|
date = git.head().date.format("yy.MM.dd")
|
||||||
revision = "-${git.head().abbreviatedId}"
|
revision = "-${git.head().abbreviatedId}"
|
||||||
parents = git.head().parentIds;
|
parents = git.head().parentIds;
|
||||||
index = -94; // Offset to match CI
|
index = -95; // Offset to match CI
|
||||||
int major, minor, patch;
|
int major, minor, patch;
|
||||||
major = minor = patch = 0;
|
major = minor = patch = 0;
|
||||||
for (;parents != null && !parents.isEmpty();index++) {
|
for (;parents != null && !parents.isEmpty();index++) {
|
||||||
|
@ -453,6 +453,7 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
public Version getVersion() {
|
public Version getVersion() {
|
||||||
Version tmp = this.version;
|
Version tmp = this.version;
|
||||||
if (tmp == null) {
|
if (tmp == null) {
|
||||||
|
tmp = Version.NONE;
|
||||||
for (Version v : Version.values()) {
|
for (Version v : Version.values()) {
|
||||||
try {
|
try {
|
||||||
BukkitQueue_0.checkVersion(v.name());
|
BukkitQueue_0.checkVersion(v.name());
|
||||||
|
Loading…
Reference in New Issue
Block a user