From 223332150447a5cb798381b6e8e76d4d425d2bc7 Mon Sep 17 00:00:00 2001 From: Aurora <21148213+aurorasmiles@users.noreply.github.com> Date: Wed, 24 Feb 2021 01:20:52 +0100 Subject: [PATCH] Add @NotNull to Key in org.bukkit.sound (#5241) Fix compiling --- Spigot-API-Patches/Adventure.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/Spigot-API-Patches/Adventure.patch b/Spigot-API-Patches/Adventure.patch index c17370e7b1..ef67b894d2 100644 --- a/Spigot-API-Patches/Adventure.patch +++ b/Spigot-API-Patches/Adventure.patch @@ -594,6 +594,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } + + // Paper start ++ @NotNull + @Override + public net.kyori.adventure.key.@org.checkerframework.checker.nullness.qual.NonNull Key key() { + return this.key;