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:
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user