From cd9827300deadb0cce533c1a8ebc9d6b1e397495 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 5 Sep 2017 12:00:42 +0200 Subject: [PATCH] Some minor changes. --- Mage.Server/src/main/java/mage/server/UserManager.java | 6 +++--- Mage.Sets/src/mage/cards/c/CaughtInTheBrights.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Server/src/main/java/mage/server/UserManager.java b/Mage.Server/src/main/java/mage/server/UserManager.java index 298914c94f..2b9efb3a4d 100644 --- a/Mage.Server/src/main/java/mage/server/UserManager.java +++ b/Mage.Server/src/main/java/mage/server/UserManager.java @@ -196,7 +196,7 @@ public enum UserManager { Calendar calendarRemove = Calendar.getInstance(); calendarRemove.add(Calendar.MINUTE, -8); List toRemove = new ArrayList<>(); - logger.info("Start Check Expired"); + logger.debug("Start Check Expired"); ArrayList userList = new ArrayList<>(); final Lock r = lock.readLock(); r.lock(); @@ -227,7 +227,7 @@ public enum UserManager { handleException(ex); } } - logger.info("Users to remove " + toRemove.size()); + logger.debug("Users to remove " + toRemove.size()); final Lock w = lock.readLock(); w.lock(); try { @@ -237,7 +237,7 @@ public enum UserManager { } finally { w.unlock(); } - logger.info("End Check Expired"); + logger.debug("End Check Expired"); } catch (Exception ex) { handleException(ex); } diff --git a/Mage.Sets/src/mage/cards/c/CaughtInTheBrights.java b/Mage.Sets/src/mage/cards/c/CaughtInTheBrights.java index 93d012fc42..261f27f1fe 100644 --- a/Mage.Sets/src/mage/cards/c/CaughtInTheBrights.java +++ b/Mage.Sets/src/mage/cards/c/CaughtInTheBrights.java @@ -64,7 +64,7 @@ public class CaughtInTheBrights extends CardImpl { // Enchant creature TargetPermanent auraTarget = new TargetCreaturePermanent(); this.getSpellAbility().addTarget(auraTarget); - this.getSpellAbility().addEffect(new AttachEffect(Outcome.Benefit)); + this.getSpellAbility().addEffect(new AttachEffect(Outcome.LoseAbility)); Ability ability = new EnchantAbility(auraTarget.getTargetName()); this.addAbility(ability);