@ -475,7 +475,8 @@ public class Experience {
// Grant XP
if(mob.getObjectType().equals(Enum.GameObjectType.PlayerCharacter))
killer.grantXP((int) Math.floor(grantedExperience), true);
if(((PlayerCharacter)mob).pvpDeaths.contains(killer.getObjectUUID()) == false)
else
killer.grantXP((int) Math.floor(grantedExperience),false);
}
@ -181,6 +181,8 @@ public class PlayerCharacter extends AbstractCharacter {
public boolean depositingWarehouse = false;
public Building warehouseBuilding;
public ArrayList<PlayerCharacter> killedCharacters = new ArrayList<>();
/**
* No Id Constructor
*/