mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47: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;
|
||||
}
|
||||
|
||||
public @Nullable V get(final CharSequence key) {
|
||||
return this.map.get(key);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public V get(final String key) {
|
||||
checkState(key.equals(key.toLowerCase(Locale.ROOT)), "key must be lowercase");
|
||||
public @Nullable V get(final String key) {
|
||||
return this.map.get(key);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user