mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
parent
e38178daaf
commit
b1f913a347
1 changed files with 6 additions and 6 deletions
|
@ -46,7 +46,7 @@ public final class BannerHelper{
|
||||||
*/
|
*/
|
||||||
public static void addCraftingPattern(String name, ItemStack craftingStack) {
|
public static void addCraftingPattern(String name, ItemStack craftingStack) {
|
||||||
Class<?>[] paramTypes = { String.class, String.class, ItemStack.class };
|
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);
|
EnumHelper.addEnum(BannerPattern.class, (ModUtil.MOD_ID + "_" + name).toUpperCase(Locale.ROOT), paramTypes, paramValues);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue