Skip to content

Commit

Permalink
fix: 🐛 Fixed pickup upgrade to work properly in boats
Browse files Browse the repository at this point in the history
  • Loading branch information
P3pp3rF1y committed Jan 22, 2025
1 parent 994c54a commit 88eccf9
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=sophisticatedstorageinmotion
mod_group_id=sophisticatedstorageinmotion
mod_version=0.10.0
mod_version=0.10.1
sonar_project_key=sophisticatedstorageinmotion:SophisticatedStorageInMotion
github_package_url=https://maven.pkg.github.com/P3pp3rF1y/SophisticatedStorageInMotion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ private <T extends IUpgradeRenderData> void renderUpgrade(IUpgradeRenderer<T> re
}

private void runPickupOnItemEntities() {
AABB aabb = entity.getBoundingBox();
AABB aabb = entity.getBoundingBox().inflate(0.2D);
List<ItemEntity> collidedWithItemEntities = entity.level().getEntitiesOfClass(ItemEntity.class, aabb);
collidedWithItemEntities.forEach(itemEntity -> {
if (itemEntity.isAlive()) {
Expand Down

0 comments on commit 88eccf9

Please sign in to comment.