mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 05:27:37 +00:00
Made Register constructor protected instead of private
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user