forked from External/mage
Update *.sh and *.java files to use Unix line endings
This commit is contained in:
parent
a6d03c925f
commit
9c7982e8f6
273 changed files with 26704 additions and 26704 deletions
|
|
@ -1,20 +1,20 @@
|
|||
|
||||
package mage.watchers;
|
||||
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.game.Game;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class WatcherUtils {
|
||||
|
||||
public static void logMissingWatcher(Game game, Ability source, Class watcherClass, Class usingClass) {
|
||||
MageObject sourceObject = source.getSourceObject(game);
|
||||
Logger.getLogger(usingClass).error("Needed watcher is not started " + watcherClass.getSimpleName()
|
||||
+ " - " + (sourceObject == null ? " no source object" : sourceObject.getName()));
|
||||
}
|
||||
}
|
||||
|
||||
package mage.watchers;
|
||||
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.game.Game;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class WatcherUtils {
|
||||
|
||||
public static void logMissingWatcher(Game game, Ability source, Class watcherClass, Class usingClass) {
|
||||
MageObject sourceObject = source.getSourceObject(game);
|
||||
Logger.getLogger(usingClass).error("Needed watcher is not started " + watcherClass.getSimpleName()
|
||||
+ " - " + (sourceObject == null ? " no source object" : sourceObject.getName()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue