aboutsummaryrefslogtreecommitdiffhomepage
path: root/Paper-MojangAPI
diff options
context:
space:
mode:
authorFinn Künstner <[email protected]>2021-07-30 01:04:26 +0200
committerGitHub <[email protected]>2021-07-29 23:04:26 +0000
commite4ecf6ce87f4f990bb29b86d243a81e8163c0553 (patch)
treee59270701eb2edee20b1724af8222e4490b26fc8 /Paper-MojangAPI
parenta67959e131d35cfc73b5cfe10e641ce767c161d0 (diff)
downloadPaper-e4ecf6ce87f4f990bb29b86d243a81e8163c0553.tar.gz
Paper-e4ecf6ce87f4f990bb29b86d243a81e8163c0553.zip
[ci skip] Fix various compile warnings (#6264)
Diffstat (limited to 'Paper-MojangAPI')
-rw-r--r--Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/AsyncPlayerSendCommandsEvent.java1
-rw-r--r--Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/CommandRegisteredEvent.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/AsyncPlayerSendCommandsEvent.java b/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/AsyncPlayerSendCommandsEvent.java
index a275a85ad2..6e507c7a51 100644
--- a/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/AsyncPlayerSendCommandsEvent.java
+++ b/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/AsyncPlayerSendCommandsEvent.java
@@ -27,6 +27,7 @@ import org.jetbrains.annotations.NotNull;
* If your logic is not safe to run asynchronously, only react to the synchronous version.
* @deprecated Draft API - Subject to change until confirmed solves desired use cases
*/
+@Deprecated
public class AsyncPlayerSendCommandsEvent <S extends BukkitBrigadierCommandSource> extends PlayerEvent {
private static final HandlerList handlers = new HandlerList();
diff --git a/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/CommandRegisteredEvent.java b/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/CommandRegisteredEvent.java
index 92924622b5..d676a18a66 100644
--- a/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/CommandRegisteredEvent.java
+++ b/Paper-MojangAPI/src/main/java/com/destroystokyo/paper/event/brigadier/CommandRegisteredEvent.java
@@ -21,6 +21,7 @@ import org.jetbrains.annotations.NotNull;
*
* @deprecated Draft API - Subject to change until confirmed solves desired use cases
*/
+@Deprecated
public class CommandRegisteredEvent <S extends BukkitBrigadierCommandSource> extends ServerEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();