use of org.spongepowered.common.service.server.ban.SpongeUserBanList in project SpongeCommon by SpongePowered.
the class PlayerListMixin method impl$setSpongeLists.
@Inject(method = "<init>", at = @At("RETURN"))
private void impl$setSpongeLists(final CallbackInfo callbackInfo) {
this.bans = new SpongeUserBanList(PlayerList.USERBANLIST_FILE);
this.ipBans = new SpongeIPBanList(PlayerList.IPBANLIST_FILE);
this.whitelist = new SpongeUserWhiteList(PlayerList.WHITELIST_FILE);
}
Aggregations