Fix events typo
This commit is contained in:
1 parent
92bb5ede46
commit
58fd2b6dde
1 file changed
+2
-2
@@ -50,7 +50,7 @@ public class ExampleMod implements ModInitializer, EventRegistrar {
|
|||||||
|
|
||||||
// here an event, we subscribe as usual with the @Subscribe annotation
|
// here an event, we subscribe as usual with the @Subscribe annotation
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent eventad {
|
public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent event) {
|
||||||
LOGGER.info("Geyser started!");
|
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)
|
@Subscribe(postOrder = PostOrder.EARLY)
|
||||||
```
|
```
|
||||||
If you do not specify a priority, the default priority is used. For all available priorities, see
|
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).
|
||||||
Reference in new issue
Block a user