This repository was archived by the owner on Mar 8, 2022. It is now read-only.
File tree 2 files changed +5
-3
lines changed
src/main/java/cat/nyaa/nyaabank
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ repositories {
34
34
}
35
35
36
36
dependencies {
37
- compile ' net.milkbowl.vault:VaultAPI:1.6'
37
+ compile (' net.milkbowl.vault:VaultAPI:1.7' ) {
38
+ transitive = false
39
+ }
38
40
api ' org.spigotmc:spigot-api:1.13.1-R0.1-SNAPSHOT'
39
41
api ' cat.nyaa:nyaacore:6.2-SNAPSHOT'
40
42
compileOnly ' org.librazy:NyaaUtilsLangChecker:2.0-SNAPSHOT'
@@ -43,7 +45,7 @@ dependencies {
43
45
String nyaaCoreLangDir = System . getenv(" NYAACORE_LANG_DIR" )
44
46
45
47
compileJava {
46
- options. compilerArgs + = [" -Xplugin:NyaaUtilsLangAnnotationProcessor" ]
48
+ options. compilerArgs + = [" -Xplugin:NyaaUtilsLangAnnotationProcessor" , " -Xlint:deprecation " ]
47
49
if (nyaaCoreLangDir != null ) {
48
50
options. compilerArgs + = [" -ALANG_DIR_ADDITIONAL_PATH=" + nyaaCoreLangDir]
49
51
}
Original file line number Diff line number Diff line change @@ -27,6 +27,6 @@ public I18n(NyaaBank plugin, String lang) {
27
27
}
28
28
29
29
public static String format (@ LangKey String key , Object ... args ) {
30
- return instance .get (key , args );
30
+ return instance .getFormatted (key , args );
31
31
}
32
32
}
You can’t perform that action at this time.
0 commit comments