Pārlūkot izejas kodu

BETA: Minor typo fix in `RequestActionUse` not allowing a couple of Swoop Cannon skills to work.

Reported by: Maui, lion
Zoey76 11 gadi atpakaļ
vecāks
revīzija
f3baa504a4

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestActionUse.java

@@ -499,13 +499,13 @@ public final class RequestActionUse extends L2GameClientPacket
 				useSkill(5140, false);
 				break;
 			case 1039: // Swoop Cannon - Cannon Fodder
-				if ((target != null) && !target.isDoor())
+				if ((target != null) && target.isDoor())
 				{
 					useSkill(5110, false);
 				}
 				break;
 			case 1040: // Swoop Cannon - Big Bang
-				if ((target != null) && !target.isDoor())
+				if ((target != null) && target.isDoor())
 				{
 					useSkill(5111, false);
 				}