From 048ef8f67b5dfdfd6f5c3221c5e9df40afe6b465 Mon Sep 17 00:00:00 2001 From: Sensei Tarzan Date: Mon, 19 Aug 2024 23:31:57 +0200 Subject: [PATCH] Correct method to unblock address instead of blocking (#48) --- .../netty/handler/codec/raknet/server/RakServerRateLimiter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport-raknet/src/main/java/org/cloudburstmc/netty/handler/codec/raknet/server/RakServerRateLimiter.java b/transport-raknet/src/main/java/org/cloudburstmc/netty/handler/codec/raknet/server/RakServerRateLimiter.java index 016516e..93f8d49 100644 --- a/transport-raknet/src/main/java/org/cloudburstmc/netty/handler/codec/raknet/server/RakServerRateLimiter.java +++ b/transport-raknet/src/main/java/org/cloudburstmc/netty/handler/codec/raknet/server/RakServerRateLimiter.java @@ -110,7 +110,7 @@ public void unblockAddress(InetAddress address) { log.info("Unblocked address {}", address); if (this.channel.config().getMetrics() != null) { - this.channel.config().getMetrics().addressBlocked(address); + this.channel.config().getMetrics().addressUnblocked(address); } }