Skip to content

Commit

Permalink
Fix forge crash caused by remapping issue in 0.5
Browse files Browse the repository at this point in the history
Removed unnecessary `remap = false` in `RegistryManagerMixin` to resolve a crash. Updated mod version to 0.5.1 and documented the fix in the changelog.
  • Loading branch information
ThePandaOliver committed Feb 4, 2025
1 parent 4c5059b commit 6bf479b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Version 0.5 Beta
# Version 0.5.1 Beta

## User Changelog
It seems like there is nothing new.
## Bug Fixes
* Fixed forge crash happening on 0.5, it was caused by a remapping issue.


## Developer Changelog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(value = RegistryManager.class, remap = false)
@Mixin(value = RegistryManager.class)
public class RegistryManagerMixin {
@Inject(method = "postNewRegistryEvent", at = @At(value = "INVOKE", target = "Lnet/minecraft/core/Registry;keySet()Ljava/util/Set;"))
private static void registerRegistries(CallbackInfo ci) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ parchment_version = 2023.09.03
maven_group = me.pandamods

mod_id = pandalib
mod_version = 0.5
mod_version = 0.5.1

mod_name = PandaLib
mod_description = A multipurpose library with a Config API, Model Renderer API, a bit of utility code, and more.
Expand Down

0 comments on commit 6bf479b

Please sign in to comment.