Browse Source

Minor, continues [2572]. This is why all the logs even when no
error happened.

Sami 16 years ago
parent
commit
568f28f296

+ 2 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

@@ -7883,7 +7883,8 @@ public final class L2PcInstance extends L2PlayableInstance
 		// If a skill is currently being used, queue this one if this is not the same
         if (isCastingNow())
         {
-        	if ((getCastInterruptTime()+40) < GameTimeController.getGameTicks()) 
+        	int interrupt = getCastInterruptTime();
+        	if (interrupt != 0 && ((interrupt+40) < GameTimeController.getGameTicks())) 
         	{ 
         		// temporary fix for skill use getting stuck
         		/*