Skip to content

Commit

Permalink
Fix broken block registration
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Mar 10, 2016
1 parent 0049d1e commit eae8f71
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/java/forestry/apiculture/items/ItemBlockCandle.java
Expand Up @@ -10,6 +10,7 @@
******************************************************************************/
package forestry.apiculture.items;

import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;

Expand All @@ -21,7 +22,7 @@

public class ItemBlockCandle extends ItemBlockForestry<BlockCandle> {

public ItemBlockCandle(BlockCandle block) {
public ItemBlockCandle(Block block) {
super(block);
}

Expand Down
Expand Up @@ -10,6 +10,7 @@
******************************************************************************/
package forestry.arboriculture.items;

import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
Expand All @@ -27,7 +28,7 @@

public class ItemBlockLeaves extends ItemBlockForestry<BlockForestryLeaves> {

public ItemBlockLeaves(BlockForestryLeaves block) {
public ItemBlockLeaves(Block block) {
super(block);
}

Expand Down
Expand Up @@ -19,7 +19,7 @@
import forestry.core.items.ItemBlockForestry;

public class ItemBlockWood<B extends Block & IWoodTyped> extends ItemBlockForestry<B> {
public ItemBlockWood(B block) {
public ItemBlockWood(Block block) {
super(block);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/forestry/core/items/ItemBlockForestry.java
Expand Up @@ -25,7 +25,7 @@

public class ItemBlockForestry<B extends Block> extends ItemBlock {

public ItemBlockForestry(B block) {
public ItemBlockForestry(Block block) {
super(block);
setMaxDamage(0);
setHasSubtypes(true);
Expand Down

0 comments on commit eae8f71

Please sign in to comment.