mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -07:00
@@ -993,6 +993,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
import java.util.stream.Stream;
|
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<T extends Keyed, R extends Registry<T>> imple
|
@@ -0,0 +0,0 @@ public final class DelayedRegistry<T extends Keyed, R extends Registry<T>> imple
|
||||||
public @Nullable NamespacedKey getKey(final T value) {
|
public @Nullable NamespacedKey getKey(final T value) {
|
||||||
return this.delegate().getKey(value);
|
return this.delegate().getKey(value);
|
||||||
@@ -1004,7 +1011,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public @NotNull Tag<T> getTag(final TagKey<T> key) {
|
+ public @NonNull Tag<T> getTag(final TagKey<T> key) {
|
||||||
+ return this.delegate().getTag(key);
|
+ return this.delegate().getTag(key);
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user