PaperMC/paper-server/patches/sources/net/minecraft/server
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
..
bossevents Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
commands Fixes and additions to the spawn reason API 2019-03-24 00:24:52 -04:00
dedicated Remote Connections shouldn't hold up shutdown 2020-03-31 03:50:42 -04:00
gui Make the GUI graph fancier 2020-02-02 04:00:40 -06:00
level Fire PlayerJoinEvent when Player is actually ready 2020-04-19 00:05:46 -04:00
network Fix CB call to changed postToMainThread method 2019-05-10 18:38:19 +01:00
packs Build system changes 2016-02-29 20:40:33 -06:00
players Fire PlayerJoinEvent when Player is actually ready 2020-04-19 00:05:46 -04:00
rcon Remote Connections shouldn't hold up shutdown 2020-03-31 03:50:42 -04:00
Bootstrap.java.patch Fix this stupid bullshit 2017-08-06 17:17:53 -05:00
Main.java.patch Basic PlayerProfile API 2018-01-15 22:11:48 -05:00
MinecraftServer.java.patch Add tick times API and /mspt command 2020-04-05 22:23:14 -05:00
PlayerAdvancements.java.patch Add PlayerAdvancementCriterionGrantEvent 2018-01-19 08:15:29 -06:00
ServerAdvancementManager.java.patch Configurable Advancement Disabling 2017-06-09 16:29:31 +10:00
ServerFunctionManager.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ServerScoreboard.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ServerTickRateManager.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Services.java.patch Paper config files 2022-06-08 22:20:16 -07:00