Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21.4
yarn_mappings=1.21.4+build.8
minecraft_version=1.21.5
yarn_mappings=1.21.5+build.1
loader_version=0.16.14
loom_version=1.11-SNAPSHOT

Expand All @@ -15,4 +15,4 @@ maven_group=io.nihlen.scriptschunkloaders
archives_base_name=scripts-chunk-loaders

# Dependencies
fabric_version=0.119.3+1.21.4
fabric_version=0.128.1+1.21.5
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void writeCustomDataToNbt(NbtCompound nbt, CallbackInfo ci) {

@Inject(method = "readCustomDataFromNbt", at = @At("RETURN"))
public void readCustomDataFromNbt(NbtCompound nbt, CallbackInfo ci) {
this.isChunkLoader = nbt.getBoolean("chunkLoader");
this.isChunkLoader = nbt.getBoolean("chunkLoader").orElse(false);
}

@Inject(method = "tick", at = @At("TAIL"))
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"depends": {
"fabricloader": ">=0.16.14",
"minecraft": "1.21.4",
"minecraft": "1.21.5",
"java": ">=21",
"fabric-api": "*"
}
Expand Down