mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Merge branch 'sentry-bug-fixes' into 'master'
Sentry Bug Fixes Closes #705 See merge request core-developers/forge!914
This commit is contained in:
@@ -3763,8 +3763,12 @@ public class CardFactoryUtil {
|
|||||||
final SpellAbility origSA = card.getFirstSpellAbility();
|
final SpellAbility origSA = card.getFirstSpellAbility();
|
||||||
|
|
||||||
// append to original SA
|
// append to original SA
|
||||||
origSA.appendSubAbility(newSA);
|
origSA.appendSubAbility(newSA);
|
||||||
} else if (keyword.startsWith("Equip")) {
|
} else if (keyword.startsWith("Equip")) {
|
||||||
|
if (!keyword.contains(":")) {
|
||||||
|
System.err.println("Malformed Equip entry! - Card: " + card.toString());
|
||||||
|
return;
|
||||||
|
}
|
||||||
String[] k = keyword.split(":");
|
String[] k = keyword.split(":");
|
||||||
// Get cost string
|
// Get cost string
|
||||||
String equipCost = k[1];
|
String equipCost = k[1];
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ public class DeckImportController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final Deck result = new Deck();
|
final Deck result = new Deck();
|
||||||
DeckSection deckSection = null;
|
DeckSection deckSection = DeckSection.Main;
|
||||||
String section = "";
|
String section = "";
|
||||||
for (final DeckRecognizer.Token t : tokens) {
|
for (final DeckRecognizer.Token t : tokens) {
|
||||||
final DeckRecognizer.TokenType type = t.getType();
|
final DeckRecognizer.TokenType type = t.getType();
|
||||||
|
|||||||
Reference in New Issue
Block a user