Made Register constructor protected instead of private

This commit is contained in:
Vidal committed 2026-03-22 10:41:14 -03:00
1 parent e0a6bac642
commit 554fbeb1a8
1 file changed
+1 -1
@@ -26,7 +26,7 @@ public class Register<T> {
protected final String namespace;
protected final Map<String, Supplier<T>> entries = new LinkedHashMap<>();
private Register(String registryKey, String namespace) {
protected Register(String registryKey, String namespace) {
this.registryKey = registryKey;
this.namespace = namespace;
}