Merge origin/master

This commit is contained in:
LevelX2 2016-02-27 09:28:01 +01:00
commit 56294eac50
4 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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

View file

@ -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");
}
}