Professor Hojo - fixed miss ability type check (#13814)

Co-authored-by: thorsten <info@thorstenhacke.de>
This commit is contained in:
Thorsten Hacke 2025-07-02 06:48:48 +02:00 committed by GitHub
parent 0cee5127dc
commit 120e5e2047
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,6 +111,7 @@ class ProfessorHojoEffect extends CostModificationEffectImpl {
return game.isActivePlayer(source.getControllerId())
&& abilityToModify.isControlledBy(source.getControllerId())
&& abilityToModify.isActivatedAbility()
&& !ProfessorHojoWatcher.checkPlayer(game, source)
&& targets.stream()
.map(game::getPermanent)