Call other Core method instead of database directly.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Oct 2011 19:41:01 +0000 (21:41 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 30 May 2012 07:40:57 +0000 (09:40 +0200)
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);
        }
 
        /**