nBd 16 年之前
父節點
當前提交
bb7d955e1f
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      L2_GameServer/java/net/sf/l2j/gameserver/model/L2Attackable.java

+ 1 - 2
L2_GameServer/java/net/sf/l2j/gameserver/model/L2Attackable.java

@@ -384,8 +384,7 @@ public class L2Attackable extends L2NpcInstance
     	// CommandChannel
         if (_commandChannelTimer == null && this.isRaid())
         {
-        	if (attacker != null && attacker.isInParty() && attacker.getParty().isInCommandChannel()
-        			&& attacker.getParty().getCommandChannel().meetRaidWarCondition(this))
+        	if (attacker != null && attacker.getParty()!= null && attacker.getParty().isInCommandChannel()&& attacker.getParty().getCommandChannel().meetRaidWarCondition(this))
         	{
         		_firstCommandChannelAttacked = attacker.getParty().getCommandChannel();
         		_commandChannelTimer = new CommandChannelTimer(this, attacker.getParty().getCommandChannel());