mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9301)
This commit is contained in:
@@ -10,7 +10,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftIpBanList.java
|
||||
@@ -0,0 +0,0 @@ public class CraftIpBanList implements org.bukkit.BanList {
|
||||
public boolean isBanned(String target) {
|
||||
Validate.notNull(target, "Target cannot be null");
|
||||
Preconditions.checkArgument(target != null, "Target cannot be null");
|
||||
|
||||
- return this.list.isBanned(InetSocketAddress.createUnresolved(target, 0));
|
||||
+ return this.list.isBanned(target); // Paper - fix checking banned ips
|
||||
|
Reference in New Issue
Block a user