Quick cleanup
This commit is contained in:
@@ -53,8 +53,8 @@ public enum Lang {
|
||||
HELP("help", "/pv <number>"),
|
||||
BLOCKED_ITEM("blocked-item", "&6%m &cis blocked from vaults");
|
||||
|
||||
private String path;
|
||||
private String def;
|
||||
private final String path;
|
||||
private final String def;
|
||||
private static YamlConfiguration LANG;
|
||||
|
||||
/**
|
||||
|
||||
@@ -406,7 +406,7 @@ public class Updater {
|
||||
String version = plugin.getDescription().getVersion();
|
||||
if (title.split("v").length == 2) {
|
||||
String remoteVersion = title.split("v")[1].split(" ")[0]; // Get the newest file's version number
|
||||
int remVer = -1, curVer = 0;
|
||||
int remVer, curVer = 0;
|
||||
try {
|
||||
remVer = calVer(remoteVersion);
|
||||
curVer = calVer(version);
|
||||
|
||||
Reference in New Issue
Block a user