Use local Sone when checking for modifications.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Core.java
index 2d23de3..0680d30 100644 (file)
@@ -363,7 +363,7 @@ public class Core extends AbstractService implements SoneProvider, PostProvider,
         * @return {@code true} if a modification has been detected in the Sone,
         *         {@code false} otherwise
         */
-       public boolean isModifiedSone(Sone sone) {
+       public boolean isModifiedSone(LocalSone sone) {
                return soneInserters.containsKey(sone) && soneInserters.get(sone).isModified();
        }