#884: Refinements to new ban API for improved compatibility and correctness

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot
2023-07-04 06:50:33 +10:00
parent ba835793ed
commit cc8a890979
5 changed files with 25 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
package org.bukkit.ban;
import java.net.InetSocketAddress;
import java.net.InetAddress;
import org.bukkit.BanList;
/**
* A {@link BanList} targeting IP bans.
*/
public interface IpBanList extends BanList<InetSocketAddress> {
public interface IpBanList extends BanList<InetAddress> {
}