Hopefully re-fix #152
This commit is contained in:
parent
e50701da02
commit
745f7d1f44
1 changed files with 4 additions and 1 deletions
|
@ -139,6 +139,9 @@ public abstract class TileEntityBasicBlock extends TileEntity implements IWrench
|
|||
@Override
|
||||
public ItemStack getWrenchDrop(EntityPlayer entityPlayer)
|
||||
{
|
||||
return Block.blocksList[getBlockType().blockID].getPickBlock(null, worldObj, xCoord, yCoord, zCoord);
|
||||
int id = worldObj.getBlockId(xCoord, yCoord, zCoord);
|
||||
int meta = worldObj.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||
ItemStack drop = new ItemStack(id, 1, meta);
|
||||
return drop;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue