🐛 Fix broken change detection
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / states / TorrentState.java
index f2e9ae2..99cb9d1 100644 (file)
@@ -91,6 +91,11 @@ public class TorrentState extends AbstractState implements Iterable<TorrentFile>
                return files.isEmpty();
        }
 
+       @Override
+       public boolean triggered() {
+               return !newTorrentFiles.isEmpty();
+       }
+
        /**
         * Returns all torrent files of this state.
         *