- Got rid of an esoteric component for logging, switched over to standard err printout like it's done in most other places.

This commit is contained in:
Agetian
2018-02-08 15:28:50 +03:00
parent 58d0921696
commit 647e9f6a14
3 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +1,5 @@
package forge.ai;
//import com.esotericsoftware.minlog.Log;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.Iterables;
@@ -398,7 +397,7 @@ public class PlayerControllerAi extends PlayerController {
if (StringUtils.isBlank(chosen) && !validTypes.isEmpty())
{
chosen = validTypes.get(0);
//Log.warn("AI has no idea how to choose " + kindOfType +", defaulting to 1st element: chosen");
System.err.println("AI has no idea how to choose " + kindOfType +", defaulting to 1st element: chosen");
}
game.getAction().nofityOfValue(sa, player, chosen, player);
return chosen;

View File

@@ -1,6 +1,5 @@
package forge.limited;
import com.esotericsoftware.minlog.Log;
import forge.properties.ForgeConstants;
import forge.util.FileUtil;
@@ -74,7 +73,7 @@ public class ReadDraftRankings {
setSizes.put(edition, rank);
}
} catch (NumberFormatException nfe) {
Log.warn("NumberFormatException: " + nfe.getMessage());
System.err.println("NumberFormatException: " + nfe.getMessage());
}
}

View File

@@ -17,7 +17,6 @@
*/
package forge.quest.io;
import com.esotericsoftware.minlog.Log;
import forge.card.MagicColor;
import forge.properties.ForgeConstants;
import forge.util.FileUtil;
@@ -115,7 +114,7 @@ public class ReadPriceList {
map.put(name, val);
} catch (final NumberFormatException nfe) {
Log.warn("NumberFormatException: " + nfe.getMessage());
System.err.println("NumberFormatException: " + nfe.getMessage());
}
}
return map;