Skip to content

Commit

Permalink
Fix input bounding box of crusher
Browse files Browse the repository at this point in the history
  • Loading branch information
malte0811 committed Jan 28, 2024
1 parent 37cfd4c commit e158ce9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void onEntityCollision(IMultiblockContext<State> ctx, BlockPos posInMulti
if(!collided.isAlive()||!state.rsState.isEnabled(ctx))
return;
final IMultiblockLevel level = ctx.getLevel();
final AABB internalBB = new AABB(1.9375, 1.25, 0.9375, 3.0625, 2.5, 2.0625);
final AABB internalBB = new AABB(1.4375, 1.25, 0.4375, 3.5625, 2.5, 2.5625);
final AABB crusherInternal = level.toAbsolute(internalBB);
if(!collided.getBoundingBox().intersects(crusherInternal))
return;
Expand Down

0 comments on commit e158ce9

Please sign in to comment.