mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-22 07:00:05 +00:00
Fix registry
This commit is contained in:
parent
16b01b9de2
commit
386c8836cd
@ -53,7 +53,7 @@ public final class NamespacedRegistry<V extends RegistryItem> extends Registry<V
|
||||
values.add(value);
|
||||
super.register(key, value);
|
||||
if (key.startsWith(defaultNamespace)) {
|
||||
super.register(key.substring(index), value);
|
||||
super.register(key.substring(index + 1), value);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user