fixed task not getting cleanup up after /skiptutorial

This commit is contained in:
NewGarbo 2015-12-04 18:23:23 +00:00
parent e158704534
commit bca65116ab

View File

@ -423,6 +423,8 @@ public abstract class Tutorial implements ScoreboardElement, Listener
public void cancelFor(final Player player)
{
get(player).CurrentTask.cleanup(player);
get(player).CurrentTaskStartTime = -1;
_inTutorial.remove(player.getName());
_manager.finishTutorial(player);