Skip to content

Commit

Permalink
Update to 24w13a
Browse files Browse the repository at this point in the history
  • Loading branch information
DrexHD committed Mar 27, 2024
1 parent 7900864 commit 9b667ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.4
minecraft_version=24w13a

loader_version=0.15.6
loader_version=0.15.7

# Mod Properties
mod_version=1.0.0+1.20.4
mod_version=1.0.0+1.20.5
maven_group=me.drex.votelistener
archives_base_name=votelistener


# Dependencies
fabric_version=0.95.4+1.20.4
fabric_version=0.96.12+1.20.5
nuvotifier_version=2.7.2
nuvotifier_fabric_version=1.0.0-1.20.4
placeholder_api_version=2.3.0+1.20.3
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/me/drex/votelistener/VoteListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private static void loadData(MinecraftServer server) {
try {
CompoundTag compoundTag = NbtIo.readCompressed(path, NbtAccounter.unlimitedHeap());
DataResult<VoteData> dataResult = VoteData.CODEC.parse(NbtOps.INSTANCE, compoundTag);
voteData = dataResult.getOrThrow(false, (error) -> LOGGER.error("Failed to load vote data: {}", error));
voteData = dataResult.getOrThrow(RuntimeException::new);
} catch (IOException e) {
// Fail-fast
throw new RuntimeException(e);
Expand Down

0 comments on commit 9b667ae

Please sign in to comment.