Add back default method

This commit is contained in:
Nassim Jahnke 2024-04-23 13:47:05 +02:00
parent 71ab15b331
commit 9894671274
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,10 @@ public final class ComponentUtil {
}
}
public static @Nullable Tag jsonStringToTag(@Nullable final String json) {
return jsonStringToTag(json, SerializerVersion.V1_20_3, SerializerVersion.V1_20_5);
}
public static @Nullable Tag jsonStringToTag(@Nullable final String json, final SerializerVersion from, final SerializerVersion to) {
if (json == null) {
return null;