mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Tiny Update: Removes dead code.
Just removes some code that does nothing. (cherry picked from commit b462c41dff99f0173b7e228f826ca0bf0d8103cb)
This commit is contained in:
@@ -35,7 +35,7 @@ public class KeywordCollection implements Iterable<String>, Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int size() {
|
public int size() {
|
||||||
return map.values().size();
|
return map.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getAmount(Keyword keyword) {
|
public int getAmount(Keyword keyword) {
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ public class GameSimulatorTest extends SimulationTestCase {
|
|||||||
GameSimulator sim = createSimulator(game, p);
|
GameSimulator sim = createSimulator(game, p);
|
||||||
Game simGame = sim.getSimulatedGameState();
|
Game simGame = sim.getSimulatedGameState();
|
||||||
|
|
||||||
SpellAbility unmorphSA = findSAWithPrefix(ripper, "Morph—Reveal a black card");
|
SpellAbility unmorphSA = findSAWithPrefix(ripper, "Morph"); // —Reveal a black card
|
||||||
assertNotNull(unmorphSA);
|
assertNotNull(unmorphSA);
|
||||||
sim.simulateSpellAbility(unmorphSA);
|
sim.simulateSpellAbility(unmorphSA);
|
||||||
assertEquals(18, simGame.getPlayers().get(0).getLife());
|
assertEquals(18, simGame.getPlayers().get(0).getLife());
|
||||||
|
|||||||
@@ -368,9 +368,6 @@ public class QuestDraftUtils {
|
|||||||
// Update dialog with winner
|
// Update dialog with winner
|
||||||
}
|
}
|
||||||
|
|
||||||
RegisteredPlayer regPlayer = mc.getWinner();
|
|
||||||
//draft.setWinner(regPlayer.getPlayer().getName());
|
|
||||||
//FModel.getQuest().save();
|
|
||||||
gui.finishGame();
|
gui.finishGame();
|
||||||
} else {
|
} else {
|
||||||
final HostedMatch newMatch = GuiBase.getInterface().hostMatch();
|
final HostedMatch newMatch = GuiBase.getInterface().hostMatch();
|
||||||
|
|||||||
Reference in New Issue
Block a user