3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

Remove unnessecary diff

Dieser Commit ist enthalten in:
Gabik21 2019-08-29 19:58:00 +02:00
Ursprung 18a56d8b1d
Commit 592517b9f3
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: A95DB353715365DF
2 geänderte Dateien mit 8 neuen und 15 gelöschten Zeilen

Datei anzeigen

@ -13,7 +13,8 @@ import com.velocitypowered.proxy.protocol.packet.PluginMessage;
public interface ClientConnectionPhase {
/**
* Handle a plugin message in the context of this phase.
* Handle a plugin message in the context of
* this phase.
*
* @param player The player
* @param message The message to handle
@ -27,7 +28,8 @@ public interface ClientConnectionPhase {
}
/**
* Instruct Velocity to reset the connection phase back to its default for the connection type.
* Instruct Velocity to reset the connection phase
* back to its default for the connection type.
*
* @param player The player
*/
@ -35,7 +37,8 @@ public interface ClientConnectionPhase {
}
/**
* Perform actions just as the player joins the server.
* Perform actions just as the player joins the
* server.
*
* @param player The player
*/
@ -44,7 +47,6 @@ public interface ClientConnectionPhase {
/**
* Indicates whether the connection is considered complete.
*
* @return true if so
*/
default boolean consideredComplete() {

Datei anzeigen

@ -19,7 +19,6 @@ public enum ProtocolUtils {
/**
* Reads a Minecraft-style VarInt from the specified {@code buf}.
*
* @param buf the buffer to read from
* @return the decoded VarInt
*/
@ -41,7 +40,6 @@ public enum ProtocolUtils {
/**
* Writes a Minecraft-style VarInt to the specified {@code buf}.
*
* @param buf the buffer to read from
* @param value the integer to write
*/
@ -62,9 +60,8 @@ public enum ProtocolUtils {
}
/**
* Reads a VarInt length-prefixed string from the {@code buf}, making sure to not go over {@code
* cap} size.
*
* Reads a VarInt length-prefixed string from the {@code buf}, making sure to not go over
* {@code cap} size.
* @param buf the buffer to read from
* @param cap the maximum size of the string, in UTF-8 character length
* @return the decoded string
@ -88,7 +85,6 @@ public enum ProtocolUtils {
/**
* Writes the specified {@code str} to the {@code buf} with a VarInt prefix.
*
* @param buf the buffer to write to
* @param str the string to write
*/
@ -105,7 +101,6 @@ public enum ProtocolUtils {
/**
* Reads a VarInt length-prefixed byte array from the {@code buf}, making sure to not go over
* {@code cap} size.
*
* @param buf the buffer to read from
* @param cap the maximum size of the string, in UTF-8 character length
* @return the byte array
@ -129,7 +124,6 @@ public enum ProtocolUtils {
/**
* Reads an VarInt-prefixed array of VarInt integers from the {@code buf}.
*
* @param buf the buffer to read from
* @return an array of integers
*/
@ -145,7 +139,6 @@ public enum ProtocolUtils {
/**
* Reads an UUID from the {@code buf}.
*
* @param buf the buffer to read from
* @return the UUID from the buffer
*/
@ -162,7 +155,6 @@ public enum ProtocolUtils {
/**
* Writes a list of {@link com.velocitypowered.api.util.GameProfile.Property} to the buffer.
*
* @param buf the buffer to write to
* @param properties the properties to serialize
*/
@ -183,7 +175,6 @@ public enum ProtocolUtils {
/**
* Reads a list of {@link com.velocitypowered.api.util.GameProfile.Property} from the buffer.
*
* @param buf the buffer to read from
* @return the read properties
*/