Skip to content

Commit

Permalink
Fix methods of Bungeecord listener being private
Browse files Browse the repository at this point in the history
seems like i forgot to check the bungeecord impl correctly.
  • Loading branch information
ham1255 committed Jul 8, 2024
1 parent 001d20c commit af80e20
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,23 @@ public RedisBungeeListener(RedisBungeePlugin<ProxiedPlayer> plugin) {
}

@EventHandler(priority = EventPriority.LOWEST)
private void onPingFirst(ProxyPingEvent event) {
public void onPingFirst(ProxyPingEvent event) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.FIRST) {
return;
}
onPing0(event);
}

@EventHandler(priority = EventPriority.NORMAL)
private void onPingNormal(ProxyPingEvent event) {
public void onPingNormal(ProxyPingEvent event) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.NORMAL) {
return;
}
onPing0(event);
}

@EventHandler(priority = EventPriority.HIGHEST)
private void onPingLast(ProxyPingEvent event) {
public void onPingLast(ProxyPingEvent event) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.LAST) {
return;
}
Expand Down

0 comments on commit af80e20

Please sign in to comment.