We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4859de commit 0bcb0c7Copy full SHA for 0bcb0c7
src/main/java/lol/hyper/toolstats/events/EntityDamage.java
@@ -97,6 +97,7 @@ public void onDamage(EntityDamageByEntityEvent event) {
97
} else {
98
// trident is killing a mob
99
newTrident = tridentMobKills(trident.getItem());
100
+ trackedMobs.add(mobBeingAttacked.getUniqueId());
101
}
102
if (newTrident != null) {
103
trident.setItem(newTrident);
@@ -133,10 +134,12 @@ public void onDamage(EntityDamageByEntityEvent event) {
133
134
return;
135
136
137
+ // player is shooting another player
138
if (mobBeingAttacked instanceof Player) {
139
updatePlayerKills(heldBow);
140
141
updateMobKills(heldBow);
142
143
144
145
0 commit comments