fixed two errors

This commit is contained in:
Light2
2014-03-28 19:49:12 +01:00
parent 56141fae85
commit 2cc846eb29
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -748,7 +748,7 @@ public class SimulationService implements INetworkDispatch {
if(!ghost.isSet(PlayerFlags.LD))
ghost.toggleFlag(PlayerFlags.LD);
for (CreatureObject opponent : object.getDuelList()) {
for (CreatureObject opponent : new ArrayList<CreatureObject>(object.getDuelList())) {
if (opponent != null) {
core.combatService.handleEndDuel(object, opponent, true);
}