Skip to content

Commit 56b5c7a

Browse files
committed
Fix mixin remapping, fixes #24
1 parent 34d2004 commit 56b5c7a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 1.5.3 - 2024-05-27 [Fabric only]
9+
10+
### Fixed
11+
12+
- Crash due to incorrect mixin remapping
13+
814
## 1.5.2 - 2024-05-27 [Fabric only]
915

1016
### Changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ mod_name=Create: Power Loader
4747
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
4848
mod_license=MIT
4949
# The mod version. See https://semver.org/
50-
mod_version=1.5.2-mc1.20.1-fabric
50+
mod_version=1.5.3-mc1.20.1-fabric
5151
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
5252
# This should match the base package used for the mod sources.
5353
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

src/main/java/com/hlysine/create_power_loader/mixin/GlobalStationMixin.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ public void setLoader(StationChunkLoader loader) {
3434

3535
@Inject(
3636
at = @At("RETURN"),
37-
method = "read(Lnet/minecraft/nbt/CompoundTag;ZLcom/simibubi/create/content/trains/graph/DimensionPalette;)V",
38-
remap = false
37+
method = "read(Lnet/minecraft/nbt/CompoundTag;ZLcom/simibubi/create/content/trains/graph/DimensionPalette;)V"
3938
)
4039
private void cpl$read(CompoundTag nbt, boolean migration, DimensionPalette dimensions, CallbackInfo ci) {
4140
CompoundTag data = nbt.getCompound("CPLData");
@@ -54,8 +53,7 @@ public void setLoader(StationChunkLoader loader) {
5453

5554
@Inject(
5655
at = @At("RETURN"),
57-
method = "write(Lnet/minecraft/nbt/CompoundTag;Lcom/simibubi/create/content/trains/graph/DimensionPalette;)V",
58-
remap = false
56+
method = "write(Lnet/minecraft/nbt/CompoundTag;Lcom/simibubi/create/content/trains/graph/DimensionPalette;)V"
5957
)
6058
private void cpl$write(CompoundTag nbt, DimensionPalette dimensions, CallbackInfo ci) {
6159
nbt.put("CPLData", getLoader().write());

0 commit comments

Comments
 (0)