mappings
This commit is contained in:
1 parent
5abbae5b62
commit
ec1993efb1
4 files changed
+7
-7
No files matched your search
@@ -30,7 +30,7 @@ public class WallStandingBlockItem_creativeNoClipMixin
|
||||
{
|
||||
// copy from canPlace
|
||||
VoxelShape voxelShape = state.getCollisionShape(worldView, pos, context);
|
||||
return voxelShape.isEmpty() || worldView.intersectsEntities(player, voxelShape.offset(pos.getX(), pos.getY(), pos.getZ()));
|
||||
return voxelShape.isEmpty() || worldView.doesNotIntersectEntities(player, voxelShape.offset(pos.getX(), pos.getY(), pos.getZ()));
|
||||
|
||||
}
|
||||
return worldView.canPlace(state, pos, context);
|
||||
|
||||
Reference in new issue
Block a user