From b028d9ca8f19fd73e5b66c0d204bc289eecec5f4 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 28 May 2020 10:44:42 -0400 Subject: [PATCH] Use standard Guava annotation --- .../api/annotations/UnstableApi.java | 14 -------------- .../command/PlayerAvailableCommandsEvent.java | 4 ++-- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java diff --git a/api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java b/api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java deleted file mode 100644 index 7d2859a77..000000000 --- a/api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java +++ /dev/null @@ -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 { - -} diff --git a/api/src/main/java/com/velocitypowered/api/event/command/PlayerAvailableCommandsEvent.java b/api/src/main/java/com/velocitypowered/api/event/command/PlayerAvailableCommandsEvent.java index c60528c4c..ef9939fbc 100644 --- a/api/src/main/java/com/velocitypowered/api/event/command/PlayerAvailableCommandsEvent.java +++ b/api/src/main/java/com/velocitypowered/api/event/command/PlayerAvailableCommandsEvent.java @@ -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;