|
|
@ -475,7 +475,8 @@ public class Experience { |
|
|
|
|
|
|
|
|
|
|
|
// Grant XP
|
|
|
|
// Grant XP
|
|
|
|
if(mob.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) |
|
|
|
if(mob.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) |
|
|
|
killer.grantXP((int) Math.floor(grantedExperience), true); |
|
|
|
if(((PlayerCharacter)mob).pvpDeaths.contains(killer.getObjectUUID()) == false) |
|
|
|
|
|
|
|
killer.grantXP((int) Math.floor(grantedExperience), true); |
|
|
|
else |
|
|
|
else |
|
|
|
killer.grantXP((int) Math.floor(grantedExperience),false); |
|
|
|
killer.grantXP((int) Math.floor(grantedExperience),false); |
|
|
|
} |
|
|
|
} |
|
|
|