XpTracker: Fix hopping to/from DMM worlds
This commit is contained in:
@@ -195,11 +195,11 @@ public class XpTrackerPlugin extends Plugin
|
|||||||
fetchXp = true;
|
fetchXp = true;
|
||||||
lastWorldType = type;
|
lastWorldType = type;
|
||||||
resetState();
|
resetState();
|
||||||
// Must be set from hitting the LOGGING_IN case below
|
// Must be set from hitting the LOGGING_IN or HOPPING case below
|
||||||
assert initializeTracker;
|
assert initializeTracker;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (state == GameState.LOGGING_IN)
|
else if (state == GameState.LOGGING_IN || state == GameState.HOPPING)
|
||||||
{
|
{
|
||||||
initializeTracker = true;
|
initializeTracker = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user