Removed exp gain when an arrow strikes its shooter

This commit is contained in:
bm01
2012-05-08 20:12:41 +02:00
parent 9b3838b912
commit c2b4961b8d
2 changed files with 4 additions and 1 deletions

View File

@ -288,7 +288,9 @@ public class Combat {
Archery.trackArrows(pluginx, target, PPa);
}
startGainXp(attacker, PPa, target, SkillType.ARCHERY, pluginx);
if (target != attacker) {
startGainXp(attacker, PPa, target, SkillType.ARCHERY, pluginx);
}
if (target instanceof Player) {
if (permInstance.daze(attacker)) {