2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-09-08 02:18:01 +00:00

Fix methods of Bungeecord listener being private

seems like i forgot to check the bungeecord impl correctly.
This commit is contained in:
mohammed jasem alaajel 2024-07-08 19:46:58 +04:00
parent 001d20c775
commit af80e2063b
Signed by: ham1255
GPG Key ID: EF343502046229F4

View File

@ -44,7 +44,7 @@ public class RedisBungeeListener implements Listener {
}
@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 @@ public class RedisBungeeListener implements Listener {
}
@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 @@ public class RedisBungeeListener implements Listener {
}
@EventHandler(priority = EventPriority.HIGHEST)
private void onPingLast(ProxyPingEvent event) {
public void onPingLast(ProxyPingEvent event) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.LAST) {
return;
}