mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
parent
b52fea44fe
commit
c64c011b1e
1 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue