Call other Core method instead of database directly.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Core.java
index 4df6584..13dfead 100644 (file)
@@ -323,7 +323,7 @@ public class Core extends AbstractService implements IdentityListener, UpdateLis
         *         Sone
         */
        public Sone getSone(String id) {
-               return database.getSone(id, true);
+               return getSone(id, true);
        }
 
        /**