Skip to content

Commit

Permalink
Revert "Fix suffocation issue at the expense of performance"
Browse files Browse the repository at this point in the history
This reverts commit 8adba1a.
  • Loading branch information
Cadiboo committed Apr 12, 2024
1 parent 8adba1a commit 3de4122
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static VoxelShape getCollisionShapeOrThrow(boolean canCollide, BlockState

var entity = context.getEntity();
if (entity instanceof FallingBlockEntity || // Stop sand etc. breaking when it falls
(entity != null && NoCubesConfig.Server.tempMobCollisionsDisabled && !(entity instanceof Player)) ||
(NoCubesConfig.Server.tempMobCollisionsDisabled && !(entity instanceof Player)) ||
// Stop grass path turning to dirt causing a crash from trying to turn an empty VoxelShape into an AABB
(entity == null && reader.getBlockState(blockPos) != state)
)
Expand Down

0 comments on commit 3de4122

Please sign in to comment.