mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Fixed an issue where killing an NPC did not set you as the killer object
This commit is contained in:
@@ -191,7 +191,9 @@ public class CombatService implements INetworkDispatch {
|
||||
{
|
||||
defender.removeDefender(creature);
|
||||
creature.removeDefender(defender);
|
||||
}
|
||||
}
|
||||
|
||||
if(((CreatureObject) target).getPlayerObject() == null) target.setKiller(attacker);
|
||||
}
|
||||
}
|
||||
else if(target instanceof TangibleObject)
|
||||
|
||||
Reference in New Issue
Block a user