mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Deprecate #addPlayerInitialization
This commit is contained in:
parent
b51362aa74
commit
e002890a91
@ -305,7 +305,9 @@ public final class ConnectionManager {
|
||||
* or even {@link AsyncPlayerPreLoginEvent}.
|
||||
*
|
||||
* @param playerInitialization the {@link Player} initialization consumer
|
||||
* @deprecated use the event API instead
|
||||
*/
|
||||
@Deprecated
|
||||
public void addPlayerInitialization(@NotNull Consumer<Player> playerInitialization) {
|
||||
this.playerInitializations.add(playerInitialization);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user