mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed issues with //copy
This commit is contained in:
parent
aea5b68ced
commit
3eb7200ea0
@ -40,13 +40,7 @@ public class Registry<V> implements Iterable<V> {
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public @Nullable V get(final CharSequence key) {
|
public @Nullable V get(final String key) {
|
||||||
return this.map.get(key);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nullable
|
|
||||||
public V get(final String key) {
|
|
||||||
checkState(key.equals(key.toLowerCase(Locale.ROOT)), "key must be lowercase");
|
|
||||||
return this.map.get(key);
|
return this.map.get(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user