mirror of
https://github.com/jie65535/gc-openchat-plugin.git
synced 2025-07-31 18:39:56 +08:00
Increase join event priority
This commit is contained in:
parent
ec347e2eab
commit
8202428564
@ -103,7 +103,7 @@ public final class OpenChatPlugin extends Plugin {
|
|||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
// Register event listeners.
|
// Register event listeners.
|
||||||
new EventHandler<>(PlayerJoinEvent.class)
|
new EventHandler<>(PlayerJoinEvent.class)
|
||||||
.priority(HandlerPriority.LOW)
|
.priority(HandlerPriority.NORMAL)
|
||||||
.listener(EventListeners::onJoin)
|
.listener(EventListeners::onJoin)
|
||||||
.register(this);
|
.register(this);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user