mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-27 11:38:03 +01:00
Specify where EntityManager#addWaitingPlayer is called
This commit is contained in:
parent
8542cebd1d
commit
d56bf94135
@ -9,6 +9,7 @@ import net.minestom.server.event.player.PlayerPreLoginEvent;
|
||||
import net.minestom.server.instance.Instance;
|
||||
import net.minestom.server.network.ConnectionManager;
|
||||
import net.minestom.server.network.packet.server.play.KeepAlivePacket;
|
||||
import net.minestom.server.network.player.PlayerConnection;
|
||||
import net.minestom.server.utils.validate.Check;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@ -76,7 +77,8 @@ public final class EntityManager {
|
||||
* Calls the player initialization callbacks and the event {@link PlayerPreLoginEvent}.
|
||||
* If the {@link Player} hasn't been kicked, add him to the waiting list.
|
||||
* <p>
|
||||
* Can be considered as a pre-init thing.
|
||||
* Can be considered as a pre-init thing,
|
||||
* currently executed in {@link Player#Player(UUID, String, PlayerConnection)}.
|
||||
*
|
||||
* @param player the {@link Player} to add
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user