mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
rename runTrigger to runTriggerOld and add new runTrigger method
This commit is contained in:
@@ -138,7 +138,7 @@ public class GameWrapper {
|
||||
//skip drawing initial hand and mulliganing
|
||||
game.setAge( GameStage.Play );
|
||||
final HashMap<String, Object> runParams = new HashMap<String, Object>();
|
||||
game.getTriggerHandler().runTrigger( TriggerType.NewGame, runParams, false );
|
||||
game.getTriggerHandler().runTriggerOld( TriggerType.NewGame, runParams, false );
|
||||
//first player in the list starts, no coin toss etc
|
||||
game.getPhaseHandler().startFirstTurn( game.getPlayers().get( 0 ) );
|
||||
game.fireEvent( new GameEventGameFinished() );
|
||||
|
||||
Reference in New Issue
Block a user