geforkt von Mirrors/FastAsyncWorldEdit
Fixed issues with //copy
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren