Merge branch 'aicleanup' into 'master'

Minor cleanup

See merge request core-developers/forge!4705
This commit is contained in:
Michael Kamensky
2021-05-16 12:43:17 +00:00
33 changed files with 61 additions and 152 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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());
}

View File

@@ -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);
}