fix: SplatoonPatchVersion was null, when no Data was found, fixed version numbers

This commit is contained in:
limited_dev 2022-11-02 23:22:19 +01:00
parent b50cc56188
commit 116df6e630
2 changed files with 3 additions and 3 deletions

View file

@ -5,8 +5,8 @@ plugins {
}
group = "de.limited_dev"
version = "v1.3.0"
var splatoonPatchBased = "1.4.1"
version = "v1.4.0"
var splatoonPatchBased = "1.2.1"
repositories {
mavenCentral()

View file

@ -125,6 +125,6 @@ public class WeaponDataManager {
}
public String getBasedOnSplatoonVersion() {
return basedOnSplatoonVersion;
return basedOnSplatoonVersion == null ? BuildConstants.splatoonPatchVersion : basedOnSplatoonVersion;
}
}