2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-10 09:00:26 +00:00

Fix methods of Bungeecord listener being private

seems like i forgot to check the bungeecord impl correctly.
This commit is contained in:
2024-07-08 19:46:58 +04:00
parent 001d20c775
commit af80e2063b

View File

@@ -44,7 +44,7 @@ public class RedisBungeeListener implements Listener {
} }
@EventHandler(priority = EventPriority.LOWEST) @EventHandler(priority = EventPriority.LOWEST)
private void onPingFirst(ProxyPingEvent event) { public void onPingFirst(ProxyPingEvent event) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.FIRST) { if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.FIRST) {
return; return;
} }
@@ -52,7 +52,7 @@ public class RedisBungeeListener implements Listener {
} }
@EventHandler(priority = EventPriority.NORMAL) @EventHandler(priority = EventPriority.NORMAL)
private void onPingNormal(ProxyPingEvent event) { public void onPingNormal(ProxyPingEvent event) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.NORMAL) { if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.NORMAL) {
return; return;
} }
@@ -60,7 +60,7 @@ public class RedisBungeeListener implements Listener {
} }
@EventHandler(priority = EventPriority.HIGHEST) @EventHandler(priority = EventPriority.HIGHEST)
private void onPingLast(ProxyPingEvent event) { public void onPingLast(ProxyPingEvent event) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.LAST) { if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.LAST) {
return; return;
} }