Skip to content

Commit

Permalink
Discard player attached text display on removal
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Jul 26, 2024
1 parent fa11d34 commit e48d148
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.5
mod_version=1.1.6

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

val player = serverPlayer
if (player == null) {
if (player == null || player.isRemoved) {
discard()
} else {
// verify same world
Expand Down

0 comments on commit e48d148

Please sign in to comment.