Skip to content

Commit

Permalink
Fix broken recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaquadro committed Aug 19, 2015
1 parent 627f531 commit 3887afb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
minecraft_version=1.8
forge_version=1.8-11.14.3.1450
mod_version=2.1.7
mod_version=2.1.8
chameleon_version=0.1.0
chameleon_max_version=1.0.0
5 changes: 5 additions & 0 deletions src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
import com.jaquadro.minecraft.storagedrawers.item.ItemController;
import com.jaquadro.minecraft.storagedrawers.item.ItemTrim;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameData;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.oredict.OreDictionary;

public class ModBlocks
{
Expand Down Expand Up @@ -50,6 +52,9 @@ public void init () {
if (config.isBlockEnabled("trim")) {
GameRegistry.registerBlock(trim, ItemTrim.class, "trim");
}

for (String key : new String[] { "drawerBasic" })
OreDictionary.registerOre(key, new ItemStack(basicDrawers, 1, OreDictionary.WILDCARD_VALUE));
}

public static String getQualifiedName (Block block) {
Expand Down

0 comments on commit 3887afb

Please sign in to comment.