mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
Initial basic fix for LDA module to ensure it builds without errors - also removed some unneeded imports which the Maven checks were blocking on
This commit is contained in:
@@ -77,6 +77,9 @@ public class CardPool extends ItemPool<PaperCard> {
|
|||||||
public void add(String cardName, String setCode, final int artIndex, final int amount) {
|
public void add(String cardName, String setCode, final int artIndex, final int amount) {
|
||||||
|
|
||||||
PaperCard paperCard = StaticData.instance().getCommonCards().getCard(cardName, setCode, artIndex);
|
PaperCard paperCard = StaticData.instance().getCommonCards().getCard(cardName, setCode, artIndex);
|
||||||
|
if (paperCard == null) {
|
||||||
|
paperCard = StaticData.instance().getCommonCards().getCard(cardName.split(" // ")[0], setCode, artIndex);
|
||||||
|
}
|
||||||
final boolean isCommonCard = paperCard != null;
|
final boolean isCommonCard = paperCard != null;
|
||||||
|
|
||||||
if (!isCommonCard) {
|
if (!isCommonCard) {
|
||||||
|
|||||||
Reference in New Issue
Block a user