From c64c011b1e6b5e8a68a48caadb89632c3a86e449 Mon Sep 17 00:00:00 2001 From: Glicz <67753196+GliczDev@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:18:05 +0100 Subject: [PATCH] [ci skip] fix compile issues caused by b52fea4 (#11664) --- patches/server/Registry-Modification-API.patch | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/patches/server/Registry-Modification-API.patch b/patches/server/Registry-Modification-API.patch index 1009539d08..764c81c116 100644 --- a/patches/server/Registry-Modification-API.patch +++ b/patches/server/Registry-Modification-API.patch @@ -993,6 +993,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 import java.util.Iterator; import java.util.function.Supplier; import java.util.stream.Stream; + import org.bukkit.Keyed; + import org.bukkit.NamespacedKey; + import org.bukkit.Registry; ++import org.jspecify.annotations.NonNull; + import org.jspecify.annotations.Nullable; + + /** @@ -0,0 +0,0 @@ public final class DelayedRegistry> imple public @Nullable NamespacedKey getKey(final T value) { return this.delegate().getKey(value); @@ -1004,7 +1011,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + + @Override -+ public @NotNull Tag getTag(final TagKey key) { ++ public @NonNull Tag getTag(final TagKey key) { + return this.delegate().getTag(key); + } }