Fix the plugin failing to startup

This commit is contained in:
Sam 2018-08-14 17:00:36 +01:00 committed by Alexander Meech
parent 3387c68fc2
commit 2bcc108858

View File

@ -156,7 +156,7 @@ public class FriendManager extends MiniDbClientPlugin<List<FriendStatus>>
@Override
public String getName()
{
return getName() + " Visibility";
return FriendManager.this.getName() + " Visibility";
}
@Override
@ -176,7 +176,7 @@ public class FriendManager extends MiniDbClientPlugin<List<FriendStatus>>
@Override
public String getQuery(int accountId, String uuid, String name)
{
return "SELECT accountFriendData.status FROM accountFriendData WHERE accountId=" + accountId + ".";
return "SELECT accountFriendData.status FROM accountFriendData WHERE accountId=" + accountId + ";";
}
});
}