carl spinner in arcade/
tutorial fixes
This commit is contained in:
parent
e8963cc2af
commit
7cda53cb28
@ -118,8 +118,8 @@ public class PartyTutorial extends Tutorial
|
|||||||
));
|
));
|
||||||
|
|
||||||
_phases.add(new TutorialPhase(
|
_phases.add(new TutorialPhase(
|
||||||
manager.GetSpawn().add(0, -2, 0),
|
manager.GetSpawn().add(0, 0, 0),
|
||||||
manager.GetSpawn().add(0, -2.1, 5),
|
manager.GetSpawn().add(0, 0.1, 5),
|
||||||
"End",
|
"End",
|
||||||
new String[]
|
new String[]
|
||||||
{
|
{
|
||||||
|
@ -132,8 +132,8 @@ public class WelcomeTutorial extends Tutorial
|
|||||||
|
|
||||||
//END
|
//END
|
||||||
_phases.add(new TutorialPhase(
|
_phases.add(new TutorialPhase(
|
||||||
manager.GetSpawn().add(0, -2, 0),
|
manager.GetSpawn().add(0, 0, 0),
|
||||||
manager.GetSpawn().add(0, -2.1, 5),
|
manager.GetSpawn().add(0, 0.1, 5),
|
||||||
"End",
|
"End",
|
||||||
new String[]
|
new String[]
|
||||||
{
|
{
|
||||||
|
@ -3,6 +3,7 @@ package nautilus.game.arcade.managers;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
|
import mineplex.core.bonuses.event.CarlSpinnerEvent;
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.common.util.F;
|
import mineplex.core.common.util.F;
|
||||||
import mineplex.core.common.util.UtilFirework;
|
import mineplex.core.common.util.UtilFirework;
|
||||||
@ -692,4 +693,14 @@ public class GameManager implements Listener
|
|||||||
{
|
{
|
||||||
event.GetGame().EndCheck();
|
event.GetGame().EndCheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void carlSpinnerCancel(CarlSpinnerEvent event)
|
||||||
|
{
|
||||||
|
Game game = Manager.GetGame();
|
||||||
|
if (game == null) return;
|
||||||
|
|
||||||
|
if (game.GetCountdown() > 0)
|
||||||
|
event.setCancelled(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user