mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-06-30 07:15:56 +02:00
Cleanup formatting / spacing
This commit is contained in:
@@ -65,9 +65,10 @@ public class UpdateChecker implements Listener {
|
||||
}
|
||||
|
||||
private boolean spigotIsNewer() {
|
||||
if (spigotVersion == null || spigotVersion.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
if (spigotVersion == null || spigotVersion.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
String plV = toReadable(pluginVersion);
|
||||
String spV = toReadable(spigotVersion);
|
||||
return plV.compareTo(spV) < 0;
|
||||
@@ -77,6 +78,7 @@ public class UpdateChecker implements Listener {
|
||||
if (version.contains("-DEV-")) {
|
||||
version = version.split("-DEV-")[0];
|
||||
}
|
||||
|
||||
return version.replaceAll("\\.", "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user