Skip to content

Commit

Permalink
#571 Added collide with passable blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shynixn committed Nov 8, 2024
1 parent 2639b28 commit 8cb1a8a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "com.github.shynixn"
version = "7.6.0"
version = "7.6.1"

repositories {
mavenLocal()
Expand Down Expand Up @@ -42,7 +42,7 @@ dependencies {

// Custom dependencies
implementation("com.github.shynixn.mcutils:common:2024.25")
implementation("com.github.shynixn.mcutils:packet:2024.41")
implementation("com.github.shynixn.mcutils:packet:2024.47")
implementation("com.github.shynixn.mcutils:database:2024.8")
implementation("com.github.shynixn.mcutils:sign:2024.3")
implementation("com.github.shynixn.mcutils:guice:2024.2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class BallHitboxEntity(val entityId: Int, val spawnpoint: Vector3d, val game: So
}

val rayTraceResult =
rayTracingService.rayTraceMotion(position.toLocation().toVector3d(), motion.toVector().toVector3d())
rayTracingService.rayTraceMotion(position.toLocation().toVector3d(), motion.toVector().toVector3d(), false, true)

val rayTraceEvent = BallRayTraceEvent(
ball, rayTraceResult.hitBlock,
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin-legacy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.6.0
version: 7.6.1
author: Shynixn
website: https://www.spigotmc.org/members/shynixn.63455/
main: com.github.shynixn.blockball.BlockBallPlugin
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.6.0
version: 7.6.1
author: Shynixn
website: https://www.spigotmc.org/members/shynixn.63455/
main: com.github.shynixn.blockball.BlockBallPlugin
Expand Down

0 comments on commit 8cb1a8a

Please sign in to comment.