You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`-32768` is the default value if you do not specify an order.
48
-
:::note
49
-
50
-
Due to compatibility constraints, you must specify [`PostOrder.CUSTOM`](jd:velocity:com.velocitypowered.api.event.PostOrder#CUSTOM) in order to use this field.
51
-
52
-
:::
52
+
`0` is the default value if you do not specify an order.
53
53
54
54
## Registering listeners
55
55
@@ -92,7 +92,7 @@ public class VelocityTest {
92
92
93
93
publicclassMyListener {
94
94
95
-
@Subscribe(order=PostOrder.EARLY)
95
+
@Subscribe
96
96
publicvoidonPlayerChat(PlayerChatEventevent) {
97
97
// do something here
98
98
}
@@ -124,12 +124,12 @@ return an [`EventTask`](jd:velocity:com.velocitypowered.api.event.EventTask)
124
124
or add a second return an [`Continuation`](jd:velocity:com.velocitypowered.api.event.Continuation) parameter:
0 commit comments