mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 19:45:21 +01:00
parent
7b0c2fb51a
commit
b07cf03dc1
@ -63,7 +63,7 @@ public final class ComponentUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static @Nullable Tag jsonToTag(@Nullable final JsonElement element) {
|
public static @Nullable Tag jsonToTag(@Nullable final JsonElement element) {
|
||||||
if (element == null) {
|
if (element == null || element.isJsonNull()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user