retrooper / packetevents

Precision meets performance—a powerful tool for mastering Minecraft packet manipulation with speed and finesse.
GNU General Public License v3.0
564 stars 151 forks source link

Remove PostPlayerInjectEvent, replace it with UserLoginEvent #291

Closed retrooper closed 2 years ago

retrooper commented 2 years ago

UserLoginEvent works just the same. Instead of just giving you the player object, you are handed the User object too. This contains a valid client version, profile (user & uuid) and address.

retrooper commented 2 years ago

Done by https://github.com/retrooper/packetevents/commit/9463a07e9db1b0481ee0656f92b15076993f0c30