Parcourir la source

shortbufftask time fix, thx kerb

janiii il y a 16 ans
Parent
commit
3bee17192d

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

@@ -12187,7 +12187,7 @@ public final class L2PcInstance extends L2Playable
 			_shortBuffTask.cancel(false);
 			_shortBuffTask = null;
 		}
-		_shortBuffTask = ThreadPoolManager.getInstance().scheduleGeneral(new ShortBuffTask(this), 15000);
+		_shortBuffTask = ThreadPoolManager.getInstance().scheduleGeneral(new ShortBuffTask(this), time*1000);
 		
 		sendPacket(new ShortBuffStatusUpdate(magicId, level, time));
 	}