Fix events typo

This commit is contained in:
rtm516 authored and GitHub committed 2024-04-22 18:20:20 +01:00
1 parent 92bb5ede46
commit 58fd2b6dde
1 file changed
+2 -2
+2 -2
View File
@@ -50,7 +50,7 @@ public class ExampleMod implements ModInitializer, EventRegistrar {
// here an event, we subscribe as usual with the @Subscribe annotation
@Subscribe
public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent eventad {
public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent event) {
LOGGER.info("Geyser started!");
}
}
@@ -99,4 +99,4 @@ To (optionally) set the priority of your event listener, you can add the priorit
@Subscribe(postOrder = PostOrder.EARLY)
```
If you do not specify a priority, the default priority is used. For all available priorities, see
[here](https://github.com/GeyserMC/Events/blob/master/src/main/java/org/geysermc/event/PostOrder.java).
[here](https://github.com/GeyserMC/Events/blob/master/src/main/java/org/geysermc/event/PostOrder.java).