Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Fix compile.
Dieser Commit ist enthalten in:
Ursprung
afb6e69388
Commit
5389ec1baf
@ -6,7 +6,6 @@ import com.velocitypowered.api.proxy.InboundConnection;
|
|||||||
|
|
||||||
import net.kyori.text.Component;
|
import net.kyori.text.Component;
|
||||||
|
|
||||||
|
|
||||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||||
|
|
||||||
@ -55,7 +54,7 @@ public class PreLoginEvent implements ResultedEvent<PreLoginEvent.PreLoginCompon
|
|||||||
/**
|
/**
|
||||||
* Represents an "allowed/allowed with online mode/denied" result with a reason allowed for denial.
|
* Represents an "allowed/allowed with online mode/denied" result with a reason allowed for denial.
|
||||||
*/
|
*/
|
||||||
public static class PreLoginComponentResult extends ComponentResult {
|
public static class PreLoginComponentResult extends ResultedEvent.ComponentResult {
|
||||||
private static final PreLoginComponentResult ALLOWED = new PreLoginComponentResult((Component) null);
|
private static final PreLoginComponentResult ALLOWED = new PreLoginComponentResult((Component) null);
|
||||||
private static final PreLoginComponentResult FORCE_ONLINEMODE = new PreLoginComponentResult(true);
|
private static final PreLoginComponentResult FORCE_ONLINEMODE = new PreLoginComponentResult(true);
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren