소스 검색

Another NPE in bosszone fix

_DS_ 15 년 전
부모
커밋
3d3a4f41dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      L2_GameServer/java/net/sf/l2j/gameserver/model/zone/type/L2BossZone.java

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/zone/type/L2BossZone.java

@@ -201,7 +201,7 @@ public class L2BossZone extends L2ZoneType
 						for (int i = 0; i < _raidList.size(); i++)
 						{
 							L2Attackable raid = (L2Attackable) _raidList.get(i);
-							if (raid == null || raid.isDead())
+							if (raid == null || raid.getSpawn() == null || raid.isDead())
 								continue;
 							if (!raid.isInsideRadius(raid.getSpawn().getLocx(), raid.getSpawn().getLocy(), 150, false))
 								raid.returnHome();