fix #156
This commit is contained in:
parent
02804df55c
commit
2be0021185
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ data class CastingContext(
|
|||
return entitiesGivenMotion.contains(target)
|
||||
}
|
||||
|
||||
fun isVecInWorld(vec: Vec3) = world.isInWorldBounds(BlockPos(vec)) && world.worldBorder.isWithinBounds(vec.x, vec.z)
|
||||
fun isVecInWorld(vec: Vec3) = world.isInWorldBounds(BlockPos(vec)) && world.worldBorder.isWithinBounds(vec.x, vec.z, 0.5)
|
||||
|
||||
fun isVecInRange(vec: Vec3): Boolean {
|
||||
val sentinel = IXplatAbstractions.INSTANCE.getSentinel(caster)
|
||||
|
|
Loading…
Reference in a new issue