diff --git a/gradle.properties b/gradle.properties index ffcef58e..92c614f9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs = -Xmx1G org.gradle.parallel = true # Mod Properties -version = 1.0.0 +version = 1.0.1 classification = maven_group = dev.sweetberry archives_base_name = wwizardry diff --git a/src/main/java/dev/sweetberry/wwizardry/Badges.java b/src/main/java/dev/sweetberry/wwizardry/Badges.java index 1666e3b5..67ebe5b0 100644 --- a/src/main/java/dev/sweetberry/wwizardry/Badges.java +++ b/src/main/java/dev/sweetberry/wwizardry/Badges.java @@ -2,6 +2,7 @@ import com.google.gson.Gson; import com.google.gson.JsonObject; +import com.google.gson.JsonSyntaxException; import net.minecraft.text.HoverEvent; import net.minecraft.text.Style; import net.minecraft.text.Text; @@ -54,7 +55,7 @@ public static Text getBadgeFor(UUID player) { BADGES_CACHE.put(player, badge); return badge; - } catch (IOException | InterruptedException ignored) {} + } catch (IOException | InterruptedException | JsonSyntaxException ignored) {} BADGES_CACHE.put(player, null);