mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
15fcde4b3c
EntityTeleportEvent#setTo is marked as nullable and so is the getTo method. This fixes the handling of a null "to" location by treating it the same as the event being cancelled. This is already existing behavior for the EntityPortalEvent (which extends EntityTeleportEvent). |
||
---|---|---|
.. | ||
bossevents | ||
commands | ||
dedicated | ||
gui | ||
level | ||
network | ||
packs | ||
players | ||
rcon | ||
Bootstrap.java.patch | ||
Main.java.patch | ||
MinecraftServer.java.patch | ||
PlayerAdvancements.java.patch | ||
ReloadableServerRegistries.java.patch | ||
ServerAdvancementManager.java.patch | ||
ServerFunctionManager.java.patch | ||
ServerScoreboard.java.patch | ||
ServerTickRateManager.java.patch | ||
Services.java.patch |