2023-02-28 17:36:01 +01:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
|
|
|
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
|
2024-01-26 20:17:06 +01:00
|
|
|
index 72c2bc09ce6eefc63c3bab5a8f183e48316d0196..b84e984e53834ef338afd7b61a656eb82a14349a 100644
|
2023-02-28 17:36:01 +01:00
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftRegistry.java
|
2024-01-26 20:17:06 +01:00
|
|
|
@@ -114,6 +114,7 @@ public class CraftRegistry<B extends Keyed, M> implements Registry<B> {
|
2023-04-09 02:00:50 +02:00
|
|
|
if (bukkitClass == TrimPattern.class) {
|
2023-10-03 13:55:12 +02:00
|
|
|
return new CraftRegistry<>(TrimPattern.class, registryHolder.registryOrThrow(Registries.TRIM_PATTERN), CraftTrimPattern::new);
|
2023-02-28 17:36:01 +01:00
|
|
|
}
|
|
|
|
+ // TODO registry modification API
|
|
|
|
|
|
|
|
return null;
|
|
|
|
}
|