Skip to content

Commit

Permalink
Reverted collision changes to fix survival player movement glitches. …
Browse files Browse the repository at this point in the history
…An alternate solution will be required.
  • Loading branch information
FamroFexl committed Feb 4, 2025
1 parent f2856f2 commit 3b70299
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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.jvmargs=-Xmx2G
org.gradle.parallel=true

# Mod Properties
mod_version=0.6
mod_version=0.6.1
mod_group=com.fexl
mod_id=circumnavigate
mod_name=Circumnavigate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ public abstract class BlockCollisionsMixin<T> extends AbstractIterator<T> {
private void wrap3DCursor(CollisionGetter collisionGetter, Entity entity, AABB box, boolean onlySuffocatingBlocks, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> resultProvider, CallbackInfo ci) {
serverLevel = null;
if(collisionGetter instanceof ServerLevel level) serverLevel = level;

if(entity != null) {
this.box = entity.level().getTransformer().AABoundingBox.unwrapFromBounds(entity.getBoundingBox(), box);
}
}

/**
Expand Down

1 comment on commit 3b70299

@FamroFexl
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 0.6.1

Please sign in to comment.