mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Merge pull request #2802 from vereena42/FixingGen-Card
Fixing gen-card.pl
This commit is contained in:
commit
6c391140c8
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ if (!exists $cards{$cardName}) {
|
|||
}
|
||||
|
||||
# Check if card is already implemented
|
||||
my $fileName = "../Mage.Sets/src/mage/cards/".substr($cardName, 0, 1)."/".toCamelCase($cardName).".java";
|
||||
my $fileName = "../Mage.Sets/src/mage/cards/".lc(substr($cardName, 0, 1))."/".toCamelCase($cardName).".java";
|
||||
if(-e $fileName) {
|
||||
die "$cardName is already implemented.\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue