Skip to content

Commit 91959c2

Browse files
committed
new damage cause, fix #64 #65
1 parent a53cebc commit 91959c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/lol/hyper/toolstats/events/EntityDamage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class EntityDamage implements Listener {
3939

4040
private final ToolStats toolStats;
4141
public final Set<UUID> trackedMobs = new HashSet<>();
42-
private final List<EntityDamageEvent.DamageCause> ignoredCauses = Arrays.asList(EntityDamageEvent.DamageCause.SUICIDE, EntityDamageEvent.DamageCause.VOID, EntityDamageEvent.DamageCause.CUSTOM);
42+
private final List<EntityDamageEvent.DamageCause> ignoredCauses = Arrays.asList(EntityDamageEvent.DamageCause.SUICIDE, EntityDamageEvent.DamageCause.VOID, EntityDamageEvent.DamageCause.CUSTOM, EntityDamageEvent.DamageCause.KILL);
4343

4444
public EntityDamage(ToolStats toolStats) {
4545
this.toolStats = toolStats;

0 commit comments

Comments
 (0)