Skip to content

Commit

Permalink
fix: 🐛 Fixed hopper upgrade to not crash when the direction it is set…
Browse files Browse the repository at this point in the history
… to pull from / push to is either below or above build limit
  • Loading branch information
P3pp3rF1y committed Sep 29, 2024
1 parent 625cce6 commit b4bb0eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.daemon=false

mod_id=sophisticatedstorage
mod_group_id=sophisticatedstorage
mod_version=0.10.40
mod_version=0.10.41
sonar_project_key=sophisticatedstorage:SophisticatedStorage
github_package_url=https://maven.pkg.github.com/P3pp3rF1y/SophisticatedStorage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private List<LazyOptional<IItemHandler>> getItemHandlers(Level level, BlockPos p
if (!handlerCache.containsKey(direction)) {
updateCacheOnSide(level, pos, direction);
}
return handlerCache.get(direction);
return handlerCache.getOrDefault(direction, Collections.emptyList());
}

public ContentsFilterLogic getInputFilterLogic() {
Expand Down

0 comments on commit b4bb0eb

Please sign in to comment.