Fixed bots not picking up loot
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user