mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Fixing gen-card.pl
This commit is contained in:
parent
b7c0c1e8b4
commit
bf5f3d861c
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