Przeglądaj źródła

attackByList must be shared.

JIV 15 lat temu
rodzic
commit
b0df562f96

+ 1 - 1
L2_GameServer/java/com/l2jserver/gameserver/model/actor/L2Character.java

@@ -2270,7 +2270,7 @@ public abstract class L2Character extends L2Object
 		synchronized (this)
 		{
 			if (_attackByList == null)
-				_attackByList = new WeakFastSet<L2Character>();
+				_attackByList = new WeakFastSet<L2Character>(true);
 		}
 		return _attackByList;
 	}