Fix Mindlink Mech (issue with MageObjectReference)

This commit is contained in:
xenohedron 2023-05-18 23:44:57 -04:00
parent 807a6c95f1
commit 0533a7a49c

View file

@ -157,7 +157,7 @@ class MindlinkMechWatcher extends Watcher {
.getState()
.getWatcher(MindlinkMechWatcher.class)
.crewMap
.computeIfAbsent(new MageObjectReference(source), x -> new HashSet<>())
.computeIfAbsent(new MageObjectReference(game.getPermanent(source.getSourceId()), game), x -> new HashSet<>())
.stream()
.filter(mor -> {
Permanent permanent = mor.getPermanent(game);