XpTracker: Fix hopping to/from DMM worlds

This commit is contained in:
dekvall
2019-09-28 03:55:41 +02:00
committed by Tomas Slusny
parent 4dd5d4b2c7
commit 7971b88f7d

View File

@@ -195,11 +195,11 @@ public class XpTrackerPlugin extends Plugin
fetchXp = true;
lastWorldType = type;
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;
}
}
else if (state == GameState.LOGGING_IN)
else if (state == GameState.LOGGING_IN || state == GameState.HOPPING)
{
initializeTracker = true;
}