mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-31 21:48:08 +01:00
Correct javadoc
This commit is contained in:
parent
f9245e8404
commit
c92829e3cf
@ -38,7 +38,7 @@ public class OpenToLAN {
|
||||
/**
|
||||
* Opens the server to LAN with the default config.
|
||||
*
|
||||
* @return {@code true} if it was open successfully, {@code false} otherwise
|
||||
* @return {@code true} if it was opened successfully, {@code false} otherwise
|
||||
*/
|
||||
public static boolean open() {
|
||||
return open(new OpenToLANConfig());
|
||||
@ -48,7 +48,7 @@ public class OpenToLAN {
|
||||
* Opens the server to LAN.
|
||||
*
|
||||
* @param config the configuration
|
||||
* @return {@code true} if it was open successfully, {@code false} otherwise
|
||||
* @return {@code true} if it was opened successfully, {@code false} otherwise
|
||||
*/
|
||||
public static boolean open(@NotNull OpenToLANConfig config) {
|
||||
if (socket != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user