PaperMC/paper-server/patches/sources/net/minecraft/server/level
Aikar d7f24e6729 Fire PlayerJoinEvent when Player is actually ready
For years, plugin developers have had to delay many things they do
inside of the PlayerJoinEvent by 1 tick to make it actually work.

This all boiled down to 1 reason why: The event fired before the
player was fully ready and joined to the world!

Additionally, if that player logged out on a vehicle, the event
fired before the vehicle was even loaded, so that plugins had no
access to the vehicle during this event either.

This change finally fixes this issue, fully preparing the player
into the world as a fully ready entity, vehicle included.

There should be no plugins that break because of this change, but might
improve consistency with other plugins instead.

For example, if 2 plugins listens to this event, and the first one
teleported the player in the event, then the 2nd plugin actually
would be getting a valid player!

This was very non deterministic. This change will ensure every plugin
receives a deterministic result, and should no longer require 1 tick
delays anymore.

== AT ==
public net.minecraft.server.level.ChunkMap addEntity(Lnet/minecraft/world/entity/Entity;)V
2020-04-19 00:05:46 -04:00
..
ChunkHolder.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ChunkMap.java.patch Fire PlayerJoinEvent when Player is actually ready 2020-04-19 00:05:46 -04:00
DistanceManager.java.patch Don't crash if player is attempted to be removed from untracked chunk. 2020-04-18 15:59:41 -04:00
ServerChunkCache.java.patch Add debug for sync chunk loads 2019-07-19 03:29:14 -07:00
ServerEntity.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ServerLevel.java.patch Prevent Double PlayerChunkMap adds crashing server 2020-04-02 01:42:39 -04:00
ServerPlayer.java.patch Fire PlayerJoinEvent when Player is actually ready 2020-04-19 00:05:46 -04:00
ServerPlayerGameMode.java.patch Don't allow digging into unloaded chunks 2018-11-11 21:01:09 +00:00
TicketType.java.patch MC Utils 2016-03-28 20:55:47 -04:00
WorldGenRegion.java.patch MC Utils 2016-03-28 20:55:47 -04:00