Skip to content

Commit 92bae0a

Browse files
Update VV API usage
1 parent d50b6a2 commit 92bae0a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ allprojects {
2424
subprojects {
2525

2626
dependencies {
27-
compileOnly("com.viaversion:viaversion:5.5.1")
28-
compileOnly("com.viaversion:viabackwards:5.5.1")
27+
compileOnly("com.viaversion:viaversion:5.7.0-SNAPSHOT")
28+
compileOnly("com.viaversion:viabackwards:5.7.0-SNAPSHOT")
2929
}
3030

3131
tasks {

common/src/main/java/com/viaversion/viarewind/utils/ChatUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static String jsonToLegacy(String json) {
4949
try {
5050
return jsonToLegacy(JsonParser.parseString(json));
5151
} catch (Exception e) {
52-
if (!Via.getConfig().isSuppressConversionWarnings()) {
52+
if (Via.getConfig().logTextComponentConversionErrors()) {
5353
ViaRewind.getPlatform().getLogger().log(Level.WARNING, "Could not convert component to legacy text: " + json, e);
5454
}
5555
}
@@ -71,7 +71,7 @@ public static String jsonToLegacy(JsonElement component) {
7171
}
7272
return legacy;
7373
} catch (Exception ex) {
74-
if (!Via.getConfig().isSuppressConversionWarnings()) {
74+
if (Via.getConfig().logTextComponentConversionErrors()) {
7575
ViaRewind.getPlatform().getLogger().log(Level.WARNING, "Could not convert component to legacy text: " + component, ex);
7676
}
7777
}

fabric/src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"depends": {
2626
"viafabric": ">=0.4.14",
27-
"viabackwards": ">=5.5.1"
27+
"viabackwards": ">=5.7.0-SNAPSHOT"
2828
},
2929
"custom": {
3030
"modmenu:api": true,

sponge/src/main/resources/META-INF/sponge_plugins.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
},
3737
{
3838
"id": "viaversion",
39-
"version": "[5.5.1,)"
39+
"version": "[5.7.0-SNAPSHOT,)"
4040
},
4141
{
4242
"id": "viabackwards",
43-
"version": "[5.5.1,)"
43+
"version": "[5.7.0-SNAPSHOT,)"
4444
}
4545
]
4646
},

0 commit comments

Comments
 (0)