mirror of
https://github.com/correl/mage.git
synced 2024-12-27 11:07:39 +00:00
Fix Mindlink Mech (issue with MageObjectReference)
This commit is contained in:
parent
807a6c95f1
commit
0533a7a49c
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class MindlinkMechWatcher extends Watcher {
|
||||||
.getState()
|
.getState()
|
||||||
.getWatcher(MindlinkMechWatcher.class)
|
.getWatcher(MindlinkMechWatcher.class)
|
||||||
.crewMap
|
.crewMap
|
||||||
.computeIfAbsent(new MageObjectReference(source), x -> new HashSet<>())
|
.computeIfAbsent(new MageObjectReference(game.getPermanent(source.getSourceId()), game), x -> new HashSet<>())
|
||||||
.stream()
|
.stream()
|
||||||
.filter(mor -> {
|
.filter(mor -> {
|
||||||
Permanent permanent = mor.getPermanent(game);
|
Permanent permanent = mor.getPermanent(game);
|
||||||
|
|
Loading…
Reference in a new issue