fix moar things

This commit is contained in:
Progwml6 committed 2014-02-02 11:02:52 -05:00
1 parent e3282b14db
commit 625d319b0c
7 files changed
+34 -31

No files matched your search

@@ -10,20 +10,17 @@ import net.minecraft.world.World;
public class WoolSlab2Item extends MultiItemBlock
{
int blockID;
Block block;
public WoolSlab2Item(Block b)
{
super(b, "", "slab" ,ItemDye.field_150923_a);
this.setSpecialIndex(7,7);
this.blockID = id + 256;
this.block = Block.blocksList[id + 256];
super(b, "", "slab", ItemDye.field_150923_a);
this.setSpecialIndex(7, 7);
this.block = b;
setMaxDamage(0);
setHasSubtypes(true);
}
@Override
public boolean onItemUse (ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ)
{