mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- 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:
@@ -1,6 +1,5 @@
|
|||||||
package forge.ai;
|
package forge.ai;
|
||||||
|
|
||||||
//import com.esotericsoftware.minlog.Log;
|
|
||||||
import com.google.common.base.Predicate;
|
import com.google.common.base.Predicate;
|
||||||
import com.google.common.base.Predicates;
|
import com.google.common.base.Predicates;
|
||||||
import com.google.common.collect.Iterables;
|
import com.google.common.collect.Iterables;
|
||||||
@@ -398,7 +397,7 @@ public class PlayerControllerAi extends PlayerController {
|
|||||||
if (StringUtils.isBlank(chosen) && !validTypes.isEmpty())
|
if (StringUtils.isBlank(chosen) && !validTypes.isEmpty())
|
||||||
{
|
{
|
||||||
chosen = validTypes.get(0);
|
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);
|
game.getAction().nofityOfValue(sa, player, chosen, player);
|
||||||
return chosen;
|
return chosen;
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package forge.limited;
|
package forge.limited;
|
||||||
|
|
||||||
import com.esotericsoftware.minlog.Log;
|
|
||||||
import forge.properties.ForgeConstants;
|
import forge.properties.ForgeConstants;
|
||||||
import forge.util.FileUtil;
|
import forge.util.FileUtil;
|
||||||
|
|
||||||
@@ -74,7 +73,7 @@ public class ReadDraftRankings {
|
|||||||
setSizes.put(edition, rank);
|
setSizes.put(edition, rank);
|
||||||
}
|
}
|
||||||
} catch (NumberFormatException nfe) {
|
} catch (NumberFormatException nfe) {
|
||||||
Log.warn("NumberFormatException: " + nfe.getMessage());
|
System.err.println("NumberFormatException: " + nfe.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
package forge.quest.io;
|
package forge.quest.io;
|
||||||
|
|
||||||
import com.esotericsoftware.minlog.Log;
|
|
||||||
import forge.card.MagicColor;
|
import forge.card.MagicColor;
|
||||||
import forge.properties.ForgeConstants;
|
import forge.properties.ForgeConstants;
|
||||||
import forge.util.FileUtil;
|
import forge.util.FileUtil;
|
||||||
@@ -115,7 +114,7 @@ public class ReadPriceList {
|
|||||||
|
|
||||||
map.put(name, val);
|
map.put(name, val);
|
||||||
} catch (final NumberFormatException nfe) {
|
} catch (final NumberFormatException nfe) {
|
||||||
Log.warn("NumberFormatException: " + nfe.getMessage());
|
System.err.println("NumberFormatException: " + nfe.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return map;
|
return map;
|
||||||
|
|||||||
Reference in New Issue
Block a user