Skip to content

Commit

Permalink
No collision, does expand AABB otherwise we can't find blocks wich ar…
Browse files Browse the repository at this point in the history
…e marked as AIR.
  • Loading branch information
ewoudje committed Jan 23, 2024
1 parent 138e7bb commit 1409e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ object DefaultBlockStateInfoProvider : BlockStateInfoProvider {
val blockMaterial = blockState.material
if (blockMaterial.isLiquid)
return if (blockMaterial == Material.LAVA) vsCore.blockTypes.lava else vsCore.blockTypes.water
return if (blockMaterial.isSolid) vsCore.blockTypes.solid else vsCore.blockTypes.air
return if (blockMaterial.isSolid) vsCore.blockTypes.solid else vsCore.blockTypes.noCollision
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ forge_version=1.18.2-40.2.4
create_fabric_version=0.5.1-c-build.1092+mc1.18.2
flywheel_version_fabric=0.6.9-38
createbigcannons_version= 0.5.2-nightly-e815ca4
vs_core_version=1.1.0+7dbd2ee63a
vs_core_version=1.1.0+e26d9059c0
# Prevent kotlin from autoincluding stdlib as a dependency, which breaks
# gradle's composite builds (includeBuild) for some reason. We'll add it manually
kotlin.stdlib.default.dependency=false
Expand Down

0 comments on commit 1409e2d

Please sign in to comment.