apparently we was missin some _
This commit is contained in:
Shadows_of_Fire 2018-04-19 20:08:05 -04:00
parent e38178daaf
commit b1f913a347

View file

@ -46,7 +46,7 @@ public final class BannerHelper{
*/
public static void addCraftingPattern(String name, ItemStack craftingStack) {
Class<?>[] paramTypes = { String.class, String.class, ItemStack.class };
Object[] paramValues = {ModUtil.MOD_ID+name, ModUtil.MOD_ID+name, craftingStack};
Object[] paramValues = { ModUtil.MOD_ID + "_" + name, ModUtil.MOD_ID + "_" + name, craftingStack };
EnumHelper.addEnum(BannerPattern.class, (ModUtil.MOD_ID + "_" + name).toUpperCase(Locale.ROOT), paramTypes, paramValues);
}