From 3eb7200ea0bc7b29d0dedc9d0ea3cb1c97c5229a Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Fri, 31 May 2019 10:41:05 -0400 Subject: [PATCH] Fixed issues with //copy --- .../main/java/com/sk89q/worldedit/registry/Registry.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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); }