aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0485-TODO-Registry-Modification-API.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-05-04 11:22:35 -0700
committerGitHub <[email protected]>2024-05-04 11:22:35 -0700
commit5632210f10e520ce70a647b2b2bd45efde4d039b (patch)
tree1581f21c73e1129dda4ac14d96c0e6dc2a460ab2 /patches/server/0485-TODO-Registry-Modification-API.patch
parent156675c773bf09679ed7b163b6c9b46f0ccb8070 (diff)
downloadPaper-5632210f10e520ce70a647b2b2bd45efde4d039b.tar.gz
Paper-5632210f10e520ce70a647b2b2bd45efde4d039b.zip
add RegistryAccess for managing registries (#10154)
* add RegistryAccess for managing registries * add missing types to key data generator * fix some stuff * Add RegistryKeys for all other non-server-backed registries * fix tests * remove Experimental annotations
Diffstat (limited to 'patches/server/0485-TODO-Registry-Modification-API.patch')
-rw-r--r--patches/server/0485-TODO-Registry-Modification-API.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/patches/server/0485-TODO-Registry-Modification-API.patch b/patches/server/0485-TODO-Registry-Modification-API.patch
deleted file mode 100644
index d624aad69b..0000000000
--- a/patches/server/0485-TODO-Registry-Modification-API.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Jake Potrebic <[email protected]>
-Date: Mon, 27 Feb 2023 18:28:39 -0800
-Subject: [PATCH] TODO Registry Modification API
-
-
-diff --git a/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java b/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java
-index 4209a45af2bfe772f678b07b49070522de4195a8..480313506bf41410de090c59e047323345ea78da 100644
---- a/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java
-+++ b/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java
-@@ -138,6 +138,7 @@ public class CraftRegistry<B extends Keyed, M> implements Registry<B> {
- if (bukkitClass == Wolf.Variant.class) {
- return new CraftRegistry<>(Wolf.Variant.class, registryHolder.registryOrThrow(Registries.WOLF_VARIANT), CraftWolf.CraftVariant::new);
- }
-+ // TODO registry modification API
-
- return null;
- }