mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Merge branch 'aicleanup' into 'master'
Minor cleanup See merge request core-developers/forge!4705
This commit is contained in:
@@ -40,7 +40,6 @@ public class SealedDeckBuilder extends LimitedDeckBuilder {
|
||||
for (int i = 0; i < limit; i++) {
|
||||
PaperCard cp = initialRanked.get(i);
|
||||
colorChooserList.add(cp);
|
||||
//System.out.println(cp.getName() + " " + cp.getRules().getManaCost().toString());
|
||||
}
|
||||
|
||||
Iterable<CardRules> rules = Iterables.transform(colorChooserList, PaperCard.FN_GET_RULES);
|
||||
|
||||
@@ -154,7 +154,6 @@ public class QuestBazaarManager {
|
||||
for (int iSlot = 0; iSlot < QuestController.MAX_PET_SLOTS; iSlot++) {
|
||||
|
||||
for (final QuestPetController pet : qCtrl.getPetsStorage().getAllPets(iSlot)) {
|
||||
//System.out.println("Pet: " + pet.getName());
|
||||
itemSet.put(pet.getName(), pet);
|
||||
}
|
||||
}
|
||||
@@ -168,7 +167,6 @@ public class QuestBazaarManager {
|
||||
|
||||
for (final String itemName : thisStall.getItems()) {
|
||||
final IQuestBazaarItem item = itemSet.get(itemName);
|
||||
//System.out.println(itemName);
|
||||
set.add(item);
|
||||
}
|
||||
itemsOnStalls.put(thisStall.getName(), set);
|
||||
|
||||
@@ -413,7 +413,6 @@ public abstract class GuiDownloadService implements Runnable {
|
||||
protected static void addMissingItems(Map<String, String> list, String nameUrlFile, String dir, boolean includeParent) {
|
||||
for (Pair<String, String> nameUrlPair : FileUtil.readNameUrlFile(nameUrlFile)) {
|
||||
File f = new File(includeParent? dir+FileUtil.getParent(nameUrlPair.getRight()) : dir , decodeURL(nameUrlPair.getLeft()));
|
||||
//System.out.println(f.getAbsolutePath());
|
||||
if (!f.exists()) {
|
||||
list.put(f.getAbsolutePath(), nameUrlPair.getRight());
|
||||
}
|
||||
|
||||
@@ -95,7 +95,6 @@ public class GuiDownloadSetPicturesLQ extends GuiDownloadService {
|
||||
if (fullborder.exists())
|
||||
return; //don't add on download if you have an existing fullborder image in this set...
|
||||
|
||||
// System.out.println(filename);
|
||||
if (!destFile.exists()) {
|
||||
downloads.put(destFile.getAbsolutePath(), ForgeConstants.URL_PIC_DOWNLOAD + urlPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user