Skip to content

Commit

Permalink
Merge pull request #3650 from refinedmods/release/1.13.0-beta.4
Browse files Browse the repository at this point in the history
Release v1.13.0-beta.4
  • Loading branch information
raoulvdberge authored Mar 7, 2024
2 parents 5170ec4 + 4b5d248 commit 6988974
Show file tree
Hide file tree
Showing 3 changed files with 392 additions and 3 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.13.0-beta.4] - 2024-03-07

### Added

- Added Hungarian translation.

### Fixed

- Fixed an error that occurred when targeting the crafter with Jade installed

## [1.13.0-beta.3] - 2024-03-05

### Fixed
Expand Down Expand Up @@ -3539,7 +3549,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- Internal test release.

[Unreleased]: https://github.com/refinedmods/refinedstorage/compare/v1.13.0-beta.3...HEAD
[Unreleased]: https://github.com/refinedmods/refinedstorage/compare/v1.13.0-beta.4...HEAD

[1.13.0-beta.4]: https://github.com/refinedmods/refinedstorage/compare/v1.13.0-beta.3...v1.13.0-beta.4

[1.13.0-beta.3]: https://github.com/refinedmods/refinedstorage/compare/v1.13.0-beta.2...v1.13.0-beta.3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.refinedmods.refinedstorage.screen.CrafterBlockEntitySynchronizationClientListener;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
Expand Down Expand Up @@ -44,8 +45,8 @@ public CrafterNetworkNode createNode(Level level, BlockPos pos) {
return new CrafterNetworkNode(level, pos);
}

public IItemHandler getPatterns(Direction direction) {
if (!direction.equals(this.getNode().getDirection())) {
public IItemHandler getPatterns(@Nullable Direction direction) {
if (direction != null && !direction.equals(this.getNode().getDirection())) {
return getNode().getPatternInventory();
}
return null;
Expand Down
Loading

0 comments on commit 6988974

Please sign in to comment.