chore: javadoc updates

This commit is contained in:
mworzala 2023-11-23 16:05:47 +00:00 committed by Matt Worzala
parent 390579f3ba
commit fd82eaed82
2 changed files with 5 additions and 4 deletions

View File

@ -270,7 +270,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
* WARNING: executed in the main update thread
* UNSAFE: Only meant to be used when a socket player connects through the server.
*
* @param spawnInstance the player spawn instance (defined in {@link PlayerLoginEvent})
* @param spawnInstance the player spawn instance (defined in {@link AsyncPlayerConfigurationEvent})
*/
public CompletableFuture<Void> UNSAFE_init(@NotNull Instance spawnInstance) {
this.dimensionType = spawnInstance.getDimensionType();

View File

@ -97,9 +97,10 @@ public final class PacketListenerManager {
/**
* Processes a packet by getting its {@link PacketPlayListenerConsumer} and calling all the packet listeners.
*
* @param packet the received packet
* @param player the player who sent the packet
* @param <T> the packet type
* @param state the current connection state
* @param packet the received packet
* @param connection the connection of the player who sent the packet
* @param <T> the packet type
*/
public <T extends ClientPacket> void processClientPacket(@NotNull ConnectionState state, @NotNull T packet, @NotNull PlayerConnection connection) {