13
0
geforkt von Mirrors/Velocity

Use standard Guava annotation

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-05-28 10:44:42 -04:00
Ursprung cb99b184ed
Commit b028d9ca8f
2 geänderte Dateien mit 2 neuen und 16 gelöschten Zeilen

Datei anzeigen

@ -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 {
}

Datei anzeigen

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