papermc/paper-server/patches/sources/net/minecraft/server
Emily 723b511fe1
Clone exit location passed to teleport event (#12354)
The exit location passed to PlayerTeleportEvent/PlayerTeleportEndGatewayEvent in ServerPlayer#teleport(TeleportTransition) needs to be cloned, as it is later compared in case it was changed. Not cloning it results in the ability for plugins to mutate it but such changes will be ignored, as the instance of the Location being the same results in a successful equality check.

It is not necessary to clone the location in other instantiations of the event (or subclasses) as those are not compared afterwards to change the outcome.
2025-04-14 17:28:29 +02:00
..
bossevents [ci skip] Fix annotation fields used in NMS getBukkitEntity (#12120) 2025-02-16 19:17:26 +01:00
commands 1.21.5 2025-04-12 17:27:00 +02:00
dedicated 1.21.5 2025-04-12 17:27:00 +02:00
gui net.minecraft.server.gui 2024-12-14 17:35:50 +01:00
level Clone exit location passed to teleport event (#12354) 2025-04-14 17:28:29 +02:00
network 1.21.5 2025-04-12 17:27:00 +02:00
packs Add datapack registration lifecycle event (#11804) 2024-12-28 13:30:43 -08:00
players 1.21.5 2025-04-12 17:27:00 +02:00
rcon net.minecraft.server.rcon.thread 2024-12-14 18:40:23 -08:00
Bootstrap.java.patch 1.21.5 2025-04-12 17:27:00 +02:00
Main.java.patch 1.21.5 2025-04-12 17:27:00 +02:00
MinecraftServer.java.patch 1.21.5 2025-04-12 17:27:00 +02:00
PlayerAdvancements.java.patch 1.21.5 2025-04-12 17:27:00 +02:00
ReloadableServerRegistries.java.patch net.minecraft.server 2024-12-13 19:12:33 -08:00
ReloadableServerResources.java.patch Default minecraft alias to redirect (#12146) 2025-02-18 00:09:54 +01:00
ServerAdvancementManager.java.patch net.minecraft.server 2024-12-13 19:12:33 -08:00
ServerFunctionLibrary.java.patch net.minecraft.server 2024-12-13 19:12:33 -08:00
ServerScoreboard.java.patch 1.21.5 2025-04-12 17:27:00 +02:00
ServerTickRateManager.java.patch ServerTickManager#requestGameToSprint - Silence command like feedback (#12220) 2025-03-08 17:09:40 -05:00
Services.java.patch 1.21.5 2025-04-12 17:27:00 +02:00
WorldLoader.java.patch net.minecraft.server 2024-12-13 19:12:33 -08:00