2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-06-29 05:46:43 +00:00

Rename RedisBungeeConfiguration#handleMotdPriority to handleMotdOrder

This commit is contained in:
PinkLolicorn
2024-06-23 12:54:24 +02:00
parent b5901366af
commit f28c0425f0
3 changed files with 7 additions and 8 deletions
@@ -44,7 +44,7 @@ public class RedisBungeeListener {
@Subscribe(order = PostOrder.FIRST)
public void onPingFirst(ProxyPingEvent event) {
if (plugin.configuration().handleMotdPriority() != HandleMotdOrder.FIRST) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.FIRST) {
return;
}
onPing0(event);
@@ -52,7 +52,7 @@ public class RedisBungeeListener {
@Subscribe(order = PostOrder.NORMAL)
public void onPingNormal(ProxyPingEvent event) {
if (plugin.configuration().handleMotdPriority() != HandleMotdOrder.NORMAL) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.NORMAL) {
return;
}
onPing0(event);
@@ -60,7 +60,7 @@ public class RedisBungeeListener {
@Subscribe(order = PostOrder.LAST)
public void onPingLast(ProxyPingEvent event) {
if (plugin.configuration().handleMotdPriority() != HandleMotdOrder.LAST) {
if (plugin.configuration().handleMotdOrder() != HandleMotdOrder.LAST) {
return;
}
onPing0(event);