Fixed issue #227 and #202

This commit is contained in:
Seefo
2014-03-23 15:03:44 -04:00
parent 679f427759
commit bd228e971a
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -504,10 +504,10 @@ public class CombatService implements INetworkDispatch {
if(attacker.getAttachment("AI") instanceof AIActor && target instanceof CreatureObject) {
((AIActor) attacker.getAttachment("AI")).addDefender((CreatureObject) target);
} else {
attacker.addDefender(target);
attacker.addDefender(target); // See below comment
}
attacker.addDefender(target);
//attacker.addDefender(target); // Why do we need to add target to defender list twice?
return true;