Set the current version as 1.7 by default as a failsafe
This commit is contained in:
parent
c5e579f608
commit
720c4f3c66
@ -17,7 +17,7 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
public class ReflectionManager {
|
public class ReflectionManager {
|
||||||
public enum LibVersion {
|
public enum LibVersion {
|
||||||
V1_6, V1_7;
|
V1_6, V1_7;
|
||||||
private static LibVersion currentVersion;
|
private static LibVersion currentVersion = LibVersion.V1_7;
|
||||||
static {
|
static {
|
||||||
if (getBukkitVersion().startsWith("v1_")) {
|
if (getBukkitVersion().startsWith("v1_")) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user