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); + } }