From 1d3b6860673930dc192090d6dfbbf4e3422ed06f Mon Sep 17 00:00:00 2001 From: Alexander Zeier Date: Fri, 4 Dec 2015 12:34:08 +0100 Subject: [PATCH] fix Spellbender graying out when hero is spell target --- Hearthstone Deck Tracker/LogReader/Handlers/PowerHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hearthstone Deck Tracker/LogReader/Handlers/PowerHandler.cs b/Hearthstone Deck Tracker/LogReader/Handlers/PowerHandler.cs index 0b7693df4a..862112d80d 100644 --- a/Hearthstone Deck Tracker/LogReader/Handlers/PowerHandler.cs +++ b/Hearthstone Deck Tracker/LogReader/Handlers/PowerHandler.cs @@ -207,7 +207,7 @@ public void Handle(string logLine, IHsGameState gameState, IGame game) { int targetEntityId = actionEntity.GetTag(GAME_TAG.CARD_TARGET); Entity targetEntity; - var targetsMinion = game.Entities.TryGetValue(targetEntityId, out targetEntity); + var targetsMinion = game.Entities.TryGetValue(targetEntityId, out targetEntity) && targetEntity.IsMinion; gameState.GameHandler.HandlePlayerSpellPlayed(targetsMinion); } }