Merge branch 'pregametutorial' of http://184.154.0.242:7990/scm/min/mineplex into type-wars

This commit is contained in:
Sarah 2015-11-26 16:37:57 +01:00
commit 33383af18a
1 changed files with 4 additions and 1 deletions

View File

@ -49,6 +49,7 @@ public abstract class GameTutorial
Manager.getPluginManager().callEvent(new GameTutorialStartEvent(this));
onStart();
preparePlayers();
_currentPhase = getNextPhase();
Manager.runSyncLater(new Runnable()
{
@Override
@ -62,7 +63,9 @@ public abstract class GameTutorial
protected void nextPhase(boolean phaseOne)
{
_currentPhase = getNextPhase();
if(!phaseOne)
_currentPhase = getNextPhase();
if(_currentPhase == null)
{
onEnd();