Skip to content

Commit 65ace27

Browse files
committed
feat: upgrade to Minecraft 1.21.5
1 parent 6133f6e commit 65ace27

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ org.gradle.parallel=true
44

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

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

1717
# Dependencies
18-
fabric_version=0.119.3+1.21.4
18+
fabric_version=0.128.1+1.21.5

src/main/java/io/nihlen/scriptschunkloaders/mixin/AbstractMinecartEntityMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void writeCustomDataToNbt(NbtCompound nbt, CallbackInfo ci) {
104104

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

110110
@Inject(method = "tick", at = @At("TAIL"))

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"depends": {
2626
"fabricloader": ">=0.16.14",
27-
"minecraft": "1.21.4",
27+
"minecraft": "1.21.5",
2828
"java": ">=21",
2929
"fabric-api": "*"
3030
}

0 commit comments

Comments
 (0)