From af80e2063b76627c4c150b08c1d77da94f1a5969 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Mon, 8 Jul 2024 19:46:58 +0400 Subject: [PATCH] Fix methods of Bungeecord listener being private seems like i forgot to check the bungeecord impl correctly. --- .../minecraft/redisbungee/RedisBungeeListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxies/bungeecord/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeListener.java b/proxies/bungeecord/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeListener.java index 39d80831..0a611813 100644 --- a/proxies/bungeecord/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeListener.java +++ b/proxies/bungeecord/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeListener.java @@ -44,7 +44,7 @@ public RedisBungeeListener(RedisBungeePlugin plugin) { } @EventHandler(priority = EventPriority.LOWEST) - private void onPingFirst(ProxyPingEvent event) { + public void onPingFirst(ProxyPingEvent event) { if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.FIRST) { return; } @@ -52,7 +52,7 @@ private void onPingFirst(ProxyPingEvent event) { } @EventHandler(priority = EventPriority.NORMAL) - private void onPingNormal(ProxyPingEvent event) { + public void onPingNormal(ProxyPingEvent event) { if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.NORMAL) { return; } @@ -60,7 +60,7 @@ private void onPingNormal(ProxyPingEvent event) { } @EventHandler(priority = EventPriority.HIGHEST) - private void onPingLast(ProxyPingEvent event) { + public void onPingLast(ProxyPingEvent event) { if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.LAST) { return; }