Fix test / use new DataSource method / add space before keywords

This commit is contained in:
ljacqu
2017-11-03 19:57:40 +01:00
parent 273c318e96
commit c7ba06e2b9
5 changed files with 17 additions and 25 deletions
@@ -270,10 +270,9 @@ public class CacheDataSource implements DataSource {
@Override
public void refreshCache(String playerName) {
if (cachedAuths.getIfPresent(playerName) == null) {
return;
if (cachedAuths.getIfPresent(playerName) != null) {
cachedAuths.refresh(playerName);
}
cachedAuths.refresh(playerName);
}
}