Tiny Update: Removes dead code.

Just removes some code that does nothing.


(cherry picked from commit b462c41dff99f0173b7e228f826ca0bf0d8103cb)
This commit is contained in:
Meerkov
2018-04-19 16:19:58 -07:00
parent bd097888a3
commit 792fdad4be
3 changed files with 2 additions and 5 deletions

View File

@@ -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) {

View File

@@ -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());

View File

@@ -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();