diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/registry/Registry.java b/worldedit-core/src/main/java/com/sk89q/worldedit/registry/Registry.java index 017d7dfac..295fff2b0 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/registry/Registry.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/registry/Registry.java @@ -40,13 +40,7 @@ public class Registry implements Iterable { 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); }