Skip to content

Commit

Permalink
Fix crash on world join
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-makes-code committed Jan 27, 2024
1 parent 6386680 commit fa451ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/dev/sweetberry/wwizardry/Badges.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit fa451ad

Please sign in to comment.