Skip to content

Commit

Permalink
Apparently all NamespacedKey keys need to be lowercase now?
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWolf committed Jul 11, 2018
1 parent 8533c0e commit 3e4cb63
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1409,7 +1409,7 @@ public static ShapedRecipe createShapedRecipe(Plugin plugin, String key, ItemSta
}

try {
Object namespacedKey = class_NamespacedKey_constructor.newInstance(plugin, key);
Object namespacedKey = class_NamespacedKey_constructor.newInstance(plugin, key.toLowerCase());
return (ShapedRecipe)class_ShapedRecipe_constructor.newInstance(namespacedKey, item);
} catch (Exception ex) {
ex.printStackTrace();
Expand Down

0 comments on commit 3e4cb63

Please sign in to comment.