Merge pull request #6703 from Nightfirecat/fix-moving-freeze-timer
timers: Correctly add freeze timer upon frozen while moving
This commit is contained in:
@@ -521,7 +521,8 @@ public class TimersPlugin extends Plugin
|
||||
if (freezeTimer != null)
|
||||
{
|
||||
// assume movement means unfrozen
|
||||
if (!currentWorldPoint.equals(lastPoint))
|
||||
if (freezeTime != client.getTickCount()
|
||||
&& !currentWorldPoint.equals(lastPoint))
|
||||
{
|
||||
removeGameTimer(freezeTimer.getTimer());
|
||||
freezeTimer = null;
|
||||
|
||||
Reference in New Issue
Block a user