Jelajahi Sumber

Hmm, these debug messages flooded some servers while I just
played 30 min without getting the msg once :( I'll take em
away and make a better debug patch

Sami 16 tahun lalu
induk
melakukan
607285fb18

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

@@ -7883,15 +7883,17 @@ 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()+50) < GameTimeController.getGameTicks()) 
+        	if ((getCastInterruptTime()+40) < GameTimeController.getGameTicks()) 
         	{ 
         		// temporary fix for skill use getting stuck
+        		/*
         		if (getLastSkillCast() != null)
         			_log.warning("Debug msg: fixing skill use stuck for a player, last skill cast was: "+getLastSkillCast().getName());
         		else
         			_log.warning("Debug msg: fixing skill use stuck for a player, last skill cast was: null");
         		if (getCurrentSkill() != null)
         			_log.warning("and current skill: "+getCurrentSkill().getSkill().getName());
+        		*/
         		abortCast();
         		return;
         	}