mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
fix a typo
This commit is contained in:
@@ -150,7 +150,7 @@ public class BoosterGenerator {
|
||||
Predicate<CardPrinted> predicate = Predicates.and( setPred, IPaperCard.Predicates.Presets.IS_SPECIAL, extraPred );
|
||||
ps.addAll(Iterables.filter(src, predicate));
|
||||
|
||||
} else if ( mainCode.equalsIgnoreCase("custom(") ) {
|
||||
} else if ( mainCode.startsWith("Custom(") || mainCode.startsWith("custom(") ) {
|
||||
String sheetName = StringUtils.strip(mainCode.substring(6), "()\" ");
|
||||
return Singletons.getModel().getPrintSheets().get(sheetName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user