mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +00:00
Fix methods of Bungeecord listener being private
seems like i forgot to check the bungeecord impl correctly.
This commit is contained in:
parent
001d20c775
commit
af80e2063b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user