Merge branch 'pregametutorial' of http://184.154.0.242:7990/scm/min/mineplex into type-wars
This commit is contained in:
commit
33383af18a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue