Skip to content

Commit

Permalink
dont despawn when named
Browse files Browse the repository at this point in the history
  • Loading branch information
Faboslav committed Oct 13, 2023
1 parent be9c73e commit 134b3a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ public boolean damage(
if (
attacker == null
|| attacker instanceof PlayerEntity == false
|| this.hasCustomName()
) {
return super.damage(source, amount);
}
Expand Down

0 comments on commit 134b3a0

Please sign in to comment.