Skip to content

event is Deprecated #2945

@pxsit

Description

@pxsit

What behaviour is observed?

[17:36:13 WARN]: [AuthMe] "AuthMe v5.7.0-SNAPSHOT-b2647" has registered a listener for org.spigotmc.event.player.PlayerSpawnLocationEvent on method "public void fr.xephi.authme.listener.PlayerListener19Spigot.onPlayerSpawn(org.spigotmc.event.player.PlayerSpawnLocationEvent)", but the event is Deprecated. "Listening to this event causes the player to be created early. Using the player from this event will result in undefined behavior. Prefer AsyncPlayerSpawnLocationEvent."; please notify the authors [sgdc3, games647, Hex3l, krusic22].

Expected behaviour

[17:36:13 WARN]: [AuthMe] "AuthMe v5.7.0-SNAPSHOT-b2647" has registered a listener for org.spigotmc.event.player.PlayerSpawnLocationEvent on method "public void fr.xephi.authme.listener.PlayerListener19Spigot.onPlayerSpawn(org.spigotmc.event.player.PlayerSpawnLocationEvent)", but the event is Deprecated. "Listening to this event causes the player to be created early. Using the player from this event will result in undefined behavior. Prefer AsyncPlayerSpawnLocationEvent."; please notify the authors [sgdc3, games647, Hex3l, krusic22].

To Reproduce

Start 1.21.10 paper server with the plugin

Plugin list

[17:41:06 INFO]: ℹ Server Plugins (1):
[17:41:06 INFO]: Bukkit Plugins:
[17:41:06 INFO]: - AuthMe

Server Implementation

Standalone server (no proxy)

Database Implementation

SQLite

AuthMe Version

v5.7.0-SNAPSHOT-b2647

Error log (if applicable)

No response

Configuration

nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions