mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Merge origin/master
This commit is contained in:
commit
56294eac50
4 changed files with 4 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1
|
||||
http://maven.apache.org/xsd/assembly-1.1.1.xsd">
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<id>mage-client</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
|
|
|
@ -169,8 +169,6 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
if (deck != null) {
|
||||
this.cardSelector.loadSideboard(new ArrayList<>(deck.getSideboard()), this.bigCard);
|
||||
}
|
||||
// TODO: take from preferences
|
||||
this.cardSelector.switchToGrid();
|
||||
|
||||
this.btnExit.setVisible(false);
|
||||
this.btnImport.setVisible(false);
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1
|
||||
http://maven.apache.org/xsd/assembly-1.1.1.xsd">
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<id>mage-server</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
|
|
|
@ -46,13 +46,13 @@ if(!exists $knownSets{$setName}) {
|
|||
my $packageName = $knownSets{$setName};
|
||||
|
||||
$setName =~ s/"/\\"/g;
|
||||
system("gen-existing-cards-by-set.pl \"$setName\"");
|
||||
system("./gen-existing-cards-by-set.pl \"$setName\"");
|
||||
|
||||
# Generate missing simple cards
|
||||
print "Simple cards generated: \n";
|
||||
foreach my $cardName (@setCards) {
|
||||
my $fileName = "../Mage.Sets/src/mage/sets/" . $packageName . "/" . toCamelCase(${$cardName}[0]) . ".java";
|
||||
if(!-e $fileName) {
|
||||
system("gen-card.pl \"${$cardName}[0]\" true");
|
||||
system("./gen-card.pl \"${$cardName}[0]\" true");
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue