Skip to content

Commit

Permalink
fix: Crash on NeoForge 1.21.2+
Browse files Browse the repository at this point in the history
Fixes GH-82
  • Loading branch information
null2264 committed Feb 2, 2025
1 parent de0828b commit f49771c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Fix crashes due to MC breaking changes in MC 1.21.2 and newer

## [v5.3.14] - 2024-12-26

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,16 @@ private void doInteraction(Level level, BlockPos pos, BlockState state, Callback
//$$ }
//$$
//$$ @Inject(method = "neighborChanged", at = @At("HEAD"), cancellable = true)
//$$ private void fluidInteraction$neighborChangede(
//$$ private void fluidInteraction$neighborChanged(
//$$ BlockState state,
//$$ Level level,
//$$ BlockPos pos,
//$$ net.minecraft.world.level.block.Block block,
//$$ BlockPos blockPos2,
//#if MC>=12102
//$$ net.minecraft.world.level.redstone.Orientation unused,
//#else
//$$ BlockPos unused,
//#endif
//$$ boolean bl,
//$$ CallbackInfo ci
//$$ ) {
Expand All @@ -80,4 +84,4 @@ private void doInteraction(Level level, BlockPos pos, BlockState state, Callback
) {
doInteraction(level, pos, state, cir);
}
}
}

0 comments on commit f49771c

Please sign in to comment.