Use standard Guava annotation

This commit is contained in:
Andrew Steinborn
2020-05-28 10:44:42 -04:00
parent cb99b184ed
commit b028d9ca8f
2 changed files with 2 additions and 16 deletions

View File

@@ -1,14 +0,0 @@
package com.velocitypowered.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Marks unstable API interfaces that are still maturing. These interfaces may change drastically
* between minor releases of Velocity, and it is not guaranteed that the APIs marked with this
* annotation will be stable over time.
*/
@Target({ ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE })
public @interface UnstableApi {
}

View File

@@ -2,15 +2,15 @@ package com.velocitypowered.api.event.command;
import static com.google.common.base.Preconditions.checkNotNull;
import com.google.common.annotations.Beta;
import com.mojang.brigadier.tree.RootCommandNode;
import com.velocitypowered.api.annotations.UnstableApi;
import com.velocitypowered.api.proxy.Player;
/**
* Allows plugins to modify the packet indicating commands available on the server to a
* Minecraft 1.13+ client.
*/
@UnstableApi
@Beta
public class PlayerAvailableCommandsEvent {
private final Player player;