Allow missions to complete in the end state

This commit is contained in:
Sam 2018-07-07 15:14:23 +01:00 committed by Alexander Meech
parent ce66748dc3
commit babece3b21

View File

@ -453,7 +453,7 @@ public abstract class Game extends ListenerComponent implements Lifetimed
new BlocksMissionTracker(this),
new FurnaceMissionTracker(this)
);
manager.getMissionsManager().setCanIncrement(() -> CanAddStats && InProgress() && manager.IsRewardStats());
manager.getMissionsManager().setCanIncrement(() -> CanAddStats && (InProgress() || GetState() == GameState.End) && manager.IsRewardStats());
Manager.getResourcePackManager().setResourcePack(gameType.getResourcePackUrls(this), gameType.isEnforceResourcePack(this));