Skip to content

Commit

Permalink
If vehicle not player
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Jul 19, 2024
1 parent 6ff7946 commit 1f5716e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kotlin_version=1.9.24
fabric_kotlin_version=1.10.20

# Mod Properties
mod_version=1.1.3
mod_version=1.1.4

maven_group=net.mcbrawls
mod_id=brawls-entities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ open class PlayerAttachedTextDisplayEntity(
}

// verify riding
if (!hasVehicle()) {
if (vehicle != player) {
startRiding(player, true)
}

Expand Down

0 comments on commit 1f5716e

Please sign in to comment.