blacklist npe fix

This commit is contained in:
Ben 2016-04-03 13:47:57 +01:00
parent 3412082f37
commit f5623f00f9

View File

@ -21,6 +21,8 @@ public class ClansBlacklist extends MiniPlugin
super("Clan Name Blacklist", plugin);
_repository = new ClanNameBlacklistRepository(plugin, this);
runAsync(() -> _repository.loadNames(this::setBlacklist));
}
// Fetch new blacklisted clans every 16 seconds (in case someone blacklists a clan name on a different server)