Fixed bots not picking up loot

This commit is contained in:
Ceikry
2025-04-06 08:29:06 +00:00
committed by Ryan
parent 7c74bfcb71
commit 02c1835016
@@ -255,6 +255,7 @@ public final class ImpactHandler {
if (entity instanceof Player) { if (entity instanceof Player) {
return killer; return killer;
} }
if (killer instanceof AIPlayer) return killer;
int damage = -1; int damage = -1;
if (playerImpactLog.isEmpty()) { if (playerImpactLog.isEmpty()) {