mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-21 23:13:28 +01:00
Made the log not die of spamming
This commit is contained in:
parent
2b12947e2c
commit
6d1878deb3
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ public class ItemUtil{
|
|||
public static void registerBlock(Block block, Class<? extends ItemBlockBase> itemBlock, String name, boolean addTab){
|
||||
block.setUnlocalizedName(ModUtil.MOD_ID_LOWER+"."+name);
|
||||
|
||||
block.setRegistryName(ModUtil.MOD_ID_LOWER, name);
|
||||
block.setRegistryName(ModUtil.MOD_ID, name);
|
||||
GameRegistry.registerBlock(block, itemBlock);
|
||||
|
||||
block.setCreativeTab(addTab ? CreativeTab.instance : null);
|
||||
|
@ -45,7 +45,7 @@ public class ItemUtil{
|
|||
public static void registerItem(Item item, String name, boolean addTab){
|
||||
item.setUnlocalizedName(ModUtil.MOD_ID_LOWER+"."+name);
|
||||
|
||||
item.setRegistryName(ModUtil.MOD_ID_LOWER, name);
|
||||
item.setRegistryName(ModUtil.MOD_ID, name);
|
||||
GameRegistry.registerItem(item);
|
||||
|
||||
item.setCreativeTab(addTab ? CreativeTab.instance : null);
|
||||
|
|
Loading…
Reference in a new issue