mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
updated CardFactory.main to use CARDSFOLDER (not used unless called directly)
This commit is contained in:
@@ -10767,7 +10767,7 @@ public class CardFactory implements NewConstants {
|
|||||||
}// copyStats()
|
}// copyStats()
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
CardFactory f = new CardFactory("cards.txt");
|
CardFactory f = new CardFactory(ForgeProps.getFile(CARDSFOLDER));
|
||||||
Card c = f.getCard("Arc-Slogger", "d");
|
Card c = f.getCard("Arc-Slogger", "d");
|
||||||
System.out.println(c.getOwner());
|
System.out.println(c.getOwner());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user