fix copy constructor of a watcher

This commit is contained in:
igoudt 2017-04-29 11:59:32 +02:00
parent b6fe6f772a
commit e5b9e41c1f

View file

@ -51,7 +51,7 @@ public class NumberOfTimesPermanentTargetedATurnWatcher extends Watcher {
public NumberOfTimesPermanentTargetedATurnWatcher(final NumberOfTimesPermanentTargetedATurnWatcher watcher) { public NumberOfTimesPermanentTargetedATurnWatcher(final NumberOfTimesPermanentTargetedATurnWatcher watcher) {
super(watcher); super(watcher);
this.permanentsTargeted.putAll(permanentsTargeted); this.permanentsTargeted.putAll(watcher.permanentsTargeted);
} }
@Override @Override