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