From 876c1a1ef5b652b85ebebac8c57777bff8105962 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 30 Apr 2016 20:11:53 +0000 Subject: [PATCH] Fixed attack stance task removal. --- .../gameserver/taskmanager/AttackStanceTaskManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/java/com/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/trunk/java/com/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java index 9f216c069c..d1fc9fe26d 100644 --- a/trunk/java/com/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java +++ b/trunk/java/com/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java @@ -132,7 +132,7 @@ public class AttackStanceTaskManager actor.getServitors().values().forEach(s -> s.broadcastPacket(new AutoAttackStop(s.getObjectId()))); } } - _attackStanceTasks.remove(e); + _attackStanceTasks.remove(e.getKey()); } } }