mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +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:
@@ -3765,6 +3765,10 @@ public class CardFactoryUtil {
|
||||
// append to original SA
|
||||
origSA.appendSubAbility(newSA);
|
||||
} else if (keyword.startsWith("Equip")) {
|
||||
if (!keyword.contains(":")) {
|
||||
System.err.println("Malformed Equip entry! - Card: " + card.toString());
|
||||
return;
|
||||
}
|
||||
String[] k = keyword.split(":");
|
||||
// Get cost string
|
||||
String equipCost = k[1];
|
||||
|
||||
@@ -72,7 +72,7 @@ public class DeckImportController {
|
||||
}
|
||||
|
||||
final Deck result = new Deck();
|
||||
DeckSection deckSection = null;
|
||||
DeckSection deckSection = DeckSection.Main;
|
||||
String section = "";
|
||||
for (final DeckRecognizer.Token t : tokens) {
|
||||
final DeckRecognizer.TokenType type = t.getType();
|
||||
|
||||
Reference in New Issue
Block a user