forked from External/mage
[refactor] moved enums from Constants class
This commit is contained in:
parent
4d16535709
commit
0bb110be45
7372 changed files with 28700 additions and 27583 deletions
|
|
@ -3,7 +3,8 @@ package mage.server.challenge;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
import mage.Constants;
|
||||
|
||||
import mage.constants.Zone;
|
||||
import mage.game.match.Match;
|
||||
|
||||
/**
|
||||
|
|
@ -19,8 +20,8 @@ public class ChallengeManager {
|
|||
}
|
||||
|
||||
public void prepareChallenge(UUID playerId, Match match) {
|
||||
Map<Constants.Zone, String> commands = new HashMap<Constants.Zone, String>();
|
||||
commands.put(Constants.Zone.OUTSIDE, "life:3");
|
||||
Map<Zone, String> commands = new HashMap<Zone, String>();
|
||||
commands.put(Zone.OUTSIDE, "life:3");
|
||||
match.getGame().cheat(playerId, commands);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue