aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0537-TODO-Registry-Modification-API.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2023-06-08 16:12:34 -0700
committerSpottedleaf <[email protected]>2023-06-08 16:12:34 -0700
commit619d7c93d80c4fecf7b3db9f2750e44a0ce611d2 (patch)
tree0599c640166a0b74a12e074236ba5c1162b094db /patches/server/0537-TODO-Registry-Modification-API.patch
parentcc491a396e411f58b2c7bb753e93b2144e886682 (diff)
downloadPaper-619d7c93d80c4fecf7b3db9f2750e44a0ce611d2.tar.gz
Paper-619d7c93d80c4fecf7b3db9f2750e44a0ce611d2.zip
Add in some patches
Diffstat (limited to 'patches/server/0537-TODO-Registry-Modification-API.patch')
-rw-r--r--patches/server/0537-TODO-Registry-Modification-API.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0537-TODO-Registry-Modification-API.patch b/patches/server/0537-TODO-Registry-Modification-API.patch
new file mode 100644
index 0000000000..54b86b44e7
--- /dev/null
+++ b/patches/server/0537-TODO-Registry-Modification-API.patch
@@ -0,0 +1,18 @@
+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 8d392d16050e65de081753c1479d0738d3f021a0..8e1a6206eafdf4160aef280710f0912a0664536f 100644
+--- a/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java
++++ b/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java
+@@ -36,6 +36,7 @@ public class CraftRegistry<B extends Keyed, M> implements Registry<B> {
+ if (bukkitClass == TrimPattern.class) {
+ return new CraftRegistry<>(registryHolder.registryOrThrow(Registries.TRIM_PATTERN), CraftTrimPattern::new);
+ }
++ // TODO registry modification API
+
+ return null;
+ }