Skip to content

Commit

Permalink
make EntityLiving.checkTotemDeathProtection public.
Browse files Browse the repository at this point in the history
  • Loading branch information
boybook committed Jan 17, 2025
1 parent 688e832 commit 1cb068a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/entity/EntityLiving.java
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ public int getBaseArmorValue() {
return 0;
}

protected boolean checkTotemDeathProtection(EntityDamageEvent source) {
public boolean checkTotemDeathProtection(EntityDamageEvent source) {
switch (source.getCause()) {
case SUICIDE:
case VOID:
Expand Down

0 comments on commit 1cb068a

Please sign in to comment.