Updated Events (markdown)

TheMode 2020-09-27 21:43:55 +02:00
parent 1719cfa432
commit 06a280bb4c
1 changed files with 1 additions and 1 deletions

@ -20,7 +20,7 @@ player.addEventCallback(PlayerBlockInteractEvent.class, event -> {
Basics events are listed [here](https://github.com/Minestom/Minestom/tree/master/src/main/java/net/minestom/server/event)
The recommended way of how and where to put the listeners is by using ConnectionManager#addPlayerInitialization, it is basically called just after the player object to be created
The recommended way of how and where to put the listeners is by using ConnectionManager#addPlayerInitialization, it is basically called just after the creation of the player object (you SHOULDN'T do anything other than registering events)
```java
ConnectionManager connectionManager = MinecraftServer.getConnectionManager();