some misc changes

This commit is contained in:
Konicai 2023-09-29 20:12:45 -04:00
parent 24323d4e82
commit 215f1fea94
2 changed files with 2 additions and 3 deletions

View File

@ -26,7 +26,6 @@
package org.geysermc.geyser.api.command;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.geysermc.geyser.api.GeyserApi;
import org.geysermc.geyser.api.connection.GeyserConnection;
import org.geysermc.geyser.api.event.lifecycle.GeyserRegisterPermissionsEvent;
@ -100,7 +99,7 @@ public interface Command {
boolean isBedrockOnly();
/**
* @deprecated this method will always return an empty list
* @deprecated this method will always return an immutable list
*/
@Deprecated(forRemoval = true)
@NonNull

View File

@ -88,7 +88,7 @@ public abstract class GeyserCommand implements org.geysermc.geyser.api.command.C
private final boolean bedrockOnly;
/**
* The aliases of the command {@link #name}
* The aliases of the command {@link #name}. This should not be modified after construction.
*/
protected List<String> aliases = Collections.emptyList();