Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Add missing JavaDoc
Dieser Commit ist enthalten in:
Ursprung
802251d273
Commit
ad291803ea
@ -16,6 +16,12 @@ public final class ServerConnectedEvent {
|
|||||||
private final RegisteredServer server;
|
private final RegisteredServer server;
|
||||||
private final @Nullable RegisteredServer previousServer;
|
private final @Nullable RegisteredServer previousServer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a ServerConnectedEvent.
|
||||||
|
* @param player the player that was connected
|
||||||
|
* @param server the server the player was connected to
|
||||||
|
* @param previousServer the server the player was previously connected to
|
||||||
|
*/
|
||||||
public ServerConnectedEvent(Player player, RegisteredServer server,
|
public ServerConnectedEvent(Player player, RegisteredServer server,
|
||||||
@Nullable RegisteredServer previousServer) {
|
@Nullable RegisteredServer previousServer) {
|
||||||
this.player = Preconditions.checkNotNull(player, "player");
|
this.player = Preconditions.checkNotNull(player, "player");
|
||||||
@ -37,10 +43,10 @@ public final class ServerConnectedEvent {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "ServerConnectedEvent{" +
|
return "ServerConnectedEvent{"
|
||||||
"player=" + player +
|
+ "player=" + player
|
||||||
", server=" + server +
|
+ ", server=" + server
|
||||||
", previousServer=" + previousServer +
|
+ ", previousServer=" + previousServer
|
||||||
'}';
|
+ '}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren